Forum Discussion

LeahZhang's avatar
LeahZhang
Microsoft Employee
4 years ago

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. 

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.

 

2 Replies

  • LeahZhang ,

    Min/Max should be like

     

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

    or

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

    • LeahZhang's avatar
      LeahZhang
      Microsoft Employee

      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.

       

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