How to calculate Percentage out of Total value in DAX (Power BI Desktop)
问题 I have the following Slicer in Power BI Desktop, where # of Clients is calculated as Count(Distinct(Fact.EHRTransaction.ClientFK)) in my data model: My goal is to calculate Percentage out of Total (13 639) and add it to this slicer as a Measure or another Column, like: Gender # of Clients Total Clients Unknown 2 0.00% Intersex 13 0.00% Transgender 18 0.00% Female 662 0.04% Male 832 0.05% (Not Recorded) 12 112 72.79% I tried adding the following Column: Percentage = 'FactEHRClinicalTransaction