Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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 -->
User | Count |
---|---|
11 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
25 | |
19 | |
16 | |
10 | |
7 |