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.
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])
)
)
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 |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
46 | |
39 | |
19 | |
19 |