Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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!
User | Count |
---|---|
82 | |
72 | |
67 | |
47 | |
36 |
User | Count |
---|---|
111 | |
56 | |
50 | |
42 | |
40 |