Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hello,
I got what I think is a fairly simple need, but I can't figure out how to do it as I'm pretty new with Dax.
I have added a Measure in a dataset (which is a single value, a Max()), and I want to use it as a filter condition in another measure. Something like that :
Solved! Go to Solution.
try
measureB =
CALCULATE (
MAXX ( FILTER ( dataset, dataset[column] < [measureA] ), dataset[column] )
)
try
measureB =
CALCULATE (
MAXX ( FILTER ( dataset, dataset[column] < [measureA] ), dataset[column] )
)
Exactly what I needed, thanks a lot!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
105 | |
69 | |
48 | |
47 | |
47 |