Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I have a measure (Measure_A). When using Measure_A in the Value
field and a Timestamp in the Axis field, you get this graph:
I would like to find the MAX, MIN and AVG of the graphs values.
I have not been able to find anything useful and have not been able to make it work myself.
How do you do that?
Your help is highly appreciated.
Hi @M-M-P ,
You can turn to Analytics tab to use Min line, Max line and Average line.
Best Regards,
Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your input.
I should have been more clear that I need to use the numbers in other calculations.
Try this
Max Sales = CALCULATE(max(Sales[Sales]),ALLSELECTED())
Refer this for more details
https://docs.microsoft.com/en-us/dax/allselected-function-dax
Hi @amitchandak
Thanks
Just to be sure. Is this correctly understood?
Max Sales = CALCULATE(max(Measure_A),ALLSELECTED())
If so, it complains that MAX needs a colum.
Measure_A need to be table[column], is it variable in the formula.
The formula you shared is complete or part of it. If it was part of it, please share complete formula
Hi @amitchandak
This is the measure.
Efficiency = VAR Input_1 = CALCULATE ( [Sum Value] , Data[Name] = "Input_1") VAR Output_1 = CALCULATE ( [Sum Value], Data[Name] = "Output_1") VAR Value_VG = CALCULATE ( [Sum Value] , Data[Name] = "Value_VG") VAR Efficiency = ((Value_VG - Input_1) / (Output_1 - Input_1)) * 100 RETURN IF(Efficiency< 0 , 0 , IF (Efficiency> 100 , 100 , Efficiency))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |