Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
I want to create a new measure that displays the norm of the items scant per hour. Since i have multiple process I want that the norm changes when i selected new processes. The norm should change based on how many item is scanned in a process.
Items scanned | Norm (items per hour) | Process number |
1000 | 50 | A |
500 | 100 | B |
600 | 60 | C |
Now i want to have a measure that displays a norm of 50 when i select process A. When i select norm B i want that it shows 100. But when i select A & B together i don't want to have a norm of 75 (avg of 50 & 100), but i want that the card/measure displays: 1000/1500 * 50 + 500/1500*100 = 66.67. In this example you can make a manual calculation but i have a total of almost 80 process that i want to have in one dashboard.
Is there anyone (or any datanaut) that can help me?
Solved! Go to Solution.
Hi @Anonymous
try this Measure
Norm =
VAR SumItemScan = SUM('Table'[Items scanned])
RETURN
SUMX('Table',DIVIDE('Table'[Items scanned],SumItemScan)*'Table'[Norm (items per hour)])
You may download my PBIX file from here.
Hope this helps.
Hi @Anonymous
try this Measure
Norm =
VAR SumItemScan = SUM('Table'[Items scanned])
RETURN
SUMX('Table',DIVIDE('Table'[Items scanned],SumItemScan)*'Table'[Norm (items per hour)])
You may download my PBIX file from here.
Hope this helps.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
101 | |
79 | |
73 | |
65 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |