Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Re-scaling a parameterized measure for each row in data

Hi all,   I built a simple index for each row in my data set that is a weighted linear combination of several columns. The weights are what-if parameters that the user can input and adjust to see t...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Just following up on this with the solution. The issue is with the min/max calculations. MINX and MAXX are evaluated over every row in the data where the measure is calculated. They don't "anchor" to the max/min across all rows. Had to nest an all function: 

    maxx(all(ta_vital),[TAVI_RAW]). Once you do that for min/max, the calculation works and the data is rescaled out of 100.