Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am trying to create Dax calculated measure where I originally have two ranges to bring in as condition.
I was able to create Dax calcuated measure with both Min and Max range, but I would like to only use Max.
Here is an illustration:
I was able to use this DAX and it worked fine.
Measure =
CALCULATE(
VALUES(Star[Value]),
FILTER(
Star,
Star[Min] <= Sum(Test[Test])
&& Star[Max] >= SUM(Test[Test])
)
)
But, I would like to only use one column (Max) instead of using two columns (with Min).
So, this is what I am trying to envision.
MeasureNEW =
CALCULATE(
VALUES(Star[Value]),
FILTER(
Star,
Star[Max] >= MAX(Test[Test])
)
)
How do I accomplish it?
There is no such thing as "a calculated measure." There are measures or calculated columns/tables.
Thanks for correction. All new for me now 🙂
MeasureNEW =
CALCULATE(
MIN(Star[Value]),
FILTER(
Star,
Star[Max] >= MAX(Test[Test])
)
)
User | Count |
---|---|
41 | |
27 | |
23 | |
18 | |
15 |
User | Count |
---|---|
54 | |
35 | |
19 | |
18 | |
15 |