Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Norm that is an average of a calculation

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 scannedNorm (items per hour)Process number
100050A
500100B
60060C

 

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?

1 ACCEPTED 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.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


View solution in original post

1 REPLY 1

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.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.