Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Dear all,
I need to create two measures to retrieve the minimum and maximum value and add it to the visual below.
As I use the slicer to filter Area, the visual should dynamically pull the minimum and maximum monthly values.
As an example, I want the minimum measure to be 386,172.62 and the maximum to be 1,166321.67.
Solved! Go to Solution.
Suppose you have measured actual sales
calculate(minx(values(Table[Month]), [Real Sales]), allselected())
calculate(maxx(values(Table[Month]), [Real Sales]), allselected())
Hi @Anonymous
Try these measures:
Maximum =
CALCULATE ( MAX ( [Actual Sales] ), REMOVEFILTERS ( table[Month Name] ) )
Minimum =
CALCULATE ( MIN ( [Actual Sales] ), REMOVEFILTERS ( table[Month Name] ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Suppose you have measured actual sales
calculate(minx(values(Table[Month]), [Real Sales]), allselected())
calculate(maxx(values(Table[Month]), [Real Sales]), allselected())
User | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
75 | |
64 |