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! Get ahead of the game and start preparing now! Learn more
Hi community,
What I do now and doesn't fully work:
I am using a date slicer on my report choosing 2 dates. Via FIRSTNONBLANK and LASTNONBLANK the values in one matrix are shown via the 2 measures based on the chosen dates (Last Planning / Current Planning). However, for some dates there aren't any entries on LASTNONBLANK (Current Planning) - that way it will show the same value as in FIRSTNONBLANK (Last Planning). But I want to exactly see the value for that date, if there is no value, I want it to show 0 for that date.
I guess that's just what FIRSTNONBLANK and LASTNONBLANK is intended to do.
What I need now:
So now I am looking for an option how to dynamically use my date slicer and show the first chosen date in one measure and the second chosen date in another measure. However, I can't come up with anything better than the mentioned example above. And no, I do not want to write "hard" lookups into the measure beacuse I would completly loose the flexibility via the slicer.
Looking forward to your ideas! Thanks!
Hi @I_LOVE_POWER_BI ,
Did above formula works for you? If it works please consider to mark it as solution. If not, please share some sample data and expected result to us.
Best Regards,
Jay
@I_LOVE_POWER_BI , not very clear
max date in slicer =maxx(allselcted(date),date[date])
min date in slicer =minx(allselcted(date),date[date])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |