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.
I am trying to create a DAX measure called Selected Date that displays the maximum selected date and keeps it static. This means that if Nov 2017 is selected, I want the Selected Date column to show 11/1/2017 next to every month. I'd ideally like to use the 2nd type of slicer (shown below).
My current measure is Selected Date = SELECTEDVALUE('Date'[Month]).
I do not want the Selected Date to change if it is sliced by a Month in a table. How can I do this?
Solved! Go to Solution.
To answer my own question, the DAX query would be:
Selected Date = MAXX(ALLSELECTED('Date'[Month]),'Date'[Month])
To answer my own question, the DAX query would be:
Selected Date = MAXX(ALLSELECTED('Date'[Month]),'Date'[Month])
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |