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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
LeahZhang
Employee
Employee

Measure Calculation

Dear Team,

 

I am trying to build a score model to reflect operation status of each plant based on fact table - incidents in the plants.

 

The Totalscore is using the below model. 

LeahZhang_1-1646882419814.png

I used "Measure"  to bulid OriginalScore, which works.

And used MAXX/MINX and  SUMMARIZE to find out max and min of OriginalScore, and save as maxMeasure and minMeasure, which also works.

 

But the Totalscore cannot show up as expected. Could you please help to figure out the reason? Thanks in advance.

LeahZhang_0-1646882361701.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@LeahZhang ,

Min/Max should be like

 

Minx(values(Table[Plant]), [Original Score])

or

Maxx(values(Table[Plant]), [Original Score])

Hi Team, 

Thanks for your response. 
I used MAXX/MINX and  SUMMARIZE to find out max and min of OriginalScore, and save as maxMeasure and minMeasure, which also works.

LeahZhang_0-1646886142981.png

 

but when use the measure to calculate TotalScore, it did not work.............

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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