The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I am tyring to figure out how to get the % of Total measure into a PowerPivot table.
My data is structed this way, with columns for Product, Time and Qty.
My pivot table looks like this, with the Product column in the row fields.
I am unsure of which measure to use to get the %TotalQty.
TotalQty = SUMX(FILTER ('Data', 'Data'[Time] = "Current"), 'Data'[Qty])
%TotalQty = ?
Solved! Go to Solution.
Hi @Anonymous
Have a try
%TotalQty = [TotalQty] / CALCULATE ([TotalQty],ALL('Data'[Product]))
Hi @Anonymous
Have a try
%TotalQty = [TotalQty] / CALCULATE ([TotalQty],ALL('Data'[Product]))