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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.