Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
90 | |
84 | |
70 | |
49 |
User | Count |
---|---|
143 | |
121 | |
112 | |
59 | |
58 |