Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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 )
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 )
User | Count |
---|---|
13 | |
10 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |