Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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?
Solved! Go to Solution.
Hey, @amitchandak thanks for your help.
I applied the below calculated column and it worked.
@Anonymous ,
M1 =
divide(
sum(Table[Planned maintenance]) -Min(Table[Planned maintenance]),
max(Table[Planned maintenance]) -Min(Table[Planned maintenance])
)
If needed
M2 = calculate([M1], all())
Hey, @amitchandak thanks for your help.
I applied the below calculated column and it worked.
Hi, @amitchandak I've had some progress.
The M1 calculation above worked as a total (see 1st picture), but when I add the UPRN, I lose the values (2nd picture) How could I have these strategic values, but UPRN?
Many thanks!
Below are the measures I used.
Hi @Anonymous ,
Which table does the "UPRN" come from? What's your model structure?
Could you create a sample .pbix file for test? Please don't contain any sensitive information.
Reference: How to provide sample data in the Power BI Forum - Microsoft Power BI Community
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 -->
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.