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
StidifordN
Helper III
Helper III

Sum of Measure outputs in table

Is it possible to sum together the outputs of a measure?

I have a table popualted with measures (image below), and conditionally formatted (Red = 50, Yellow = 75 and Green = 100).
I'd like to create an overall result for each column - sum the outputs (eg. 250), and divide by the number of rows (3).  This output i'll also conditionally format into a Red, Amber or Green result.

 

Image1.PNG

 

For an example of what each measure looks like, below is the first column.

TS_TSUtilisation_Score = 
IF(ISBLANK([InvoiceCount]),0,
IF([FMO_TSUtil_Measure]="N",25,
SWITCH(TRUE(),
[TS_TSUtilisation]="Y",100,
CALCULATE(COUNT(APAll[TS_TSUtilisation_InProgress]),APAll[TS_TSUtilisation_InProgress]="Yes")>0,75,
[TS_TSUtilisation]="N",50,0)))

 

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @StidifordN 

You could sum measures with SUMX dax function.

https://docs.microsoft.com/en-us/dax/sumx-function-dax

If you have any problem to get correct result, please share some simple data.

 

Best Regards

Maggie

amitchandak
Super User
Super User

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.