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.
Hi,
I have a date slicer which filters the data based on two dates.
I wanted to get the upper value selected in the slicer but I've not been able to get it.
I tried this formula, picking it from previous messages on Power BI Community but it doesn't work:
CALCULATE ( MAX ( MyDateTable[Date] ), ALLSELECTED ( MyDateTable[Date] ) )
Can you help me?
Thanks!
Hi @AMS_Pag ,
Have you tried using Relative date slicer in this scenario? There is similar thread for this:
https://community.powerbi.com/t5/Desktop/Default-upper-value-for-date-slicer/m-p/876220
Kindly give kudos if this is helpful or aceept this as a solution if it works! 🙂
Thanks,
Pragati
Yes, I tried it, but also after setting the relative filtering I can't get the "upper" date.
I need to get the upper date dynamically, as it is changed (e.g. if the upper date is changed I need to get the new value, obviously). 😋
Unfortunately this DAX returns a compilation error... 😞
Do you have other suggestions?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
42 |