Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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!
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 100 | |
| 56 | |
| 37 | |
| 37 |