Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
Hi,
I want to create a calculated measure for calculating cost percentage per supplier. I'm not able to get the exact formula that would give me column percentages:
I need a formula, specifically a calculated measure to perform the activity of column 'C' in the above picture.
Thanks for the help!:)
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new measure.
Expected result measure: =
VAR _qty =
SUM ( Data[Qty] )
VAR _qtyall =
CALCULATE ( SUM ( Data[Qty] ), ALL ( Data[Product] ) )
RETURN
DIVIDE ( _qty, _qtyall )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new measure.
Expected result measure: =
VAR _qty =
SUM ( Data[Qty] )
VAR _qtyall =
CALCULATE ( SUM ( Data[Qty] ), ALL ( Data[Product] ) )
RETURN
DIVIDE ( _qty, _qtyall )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
18 | |
13 | |
11 | |
10 | |
9 |