Forum Discussion
Anonymous
4 years agoNot applicable
Strategic Value
Hi everyone, I'm trying to calculate a strategic value, but I'm not sure how to do that in DAX. Below is logic and they come from one single table. Can you please help me have this in DAX? Stra...
- Anonymous4 years ago
Hey, amitchandak thanks for your help.
I applied the below calculated column and it worked.Planned Maintenance Strategic Value =var MAX_Value= MAX(Costs[Planned maintenance PV 30 years])var Min_Value = MIN(Costs[Planned maintenance PV 30 years])return 100-((Costs[Planned maintenance PV 30 years]-Min_Value)/(MAX_Value-Min_Value))*100
Anonymous
4 years agoNot applicable
Thank you so much for your reply amitchandak
My Min and MAX(Table[Planned maintenance]) aren't giving the correct number. For MIN I get 0, and if I try this measure right here -->
CALCULATE( MIN(Costs[Planned maintenance PV 30 years]), FILTER(Costs, Costs[Planned maintenance PV 30 years] <> 0 || Costs[Planned maintenance PV 30 years] <> BLANK())) I get a wrong number also.
Below is the screenshot of what I have on excel, and when I click on the column the values for MIN/MAX a the bottom of the sheet are very different from my numbers in PBI.
Any help will be much appreciated.
Below is the screenshot of what I have on excel, and when I click on the column the values for MIN/MAX a the bottom of the sheet are very different from my numbers in PBI.
Any help will be much appreciated.
amitchandak
4 years agoSuper User
Anonymous ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.