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
I would like to have a date filter showing the last 7 or 14 days depending on another filter like this:
Is it possible?
BR
Lotte
Solved! Go to Solution.
I have find a way to solve it 🙂
I have find a way to solve it 🙂
@LotteLaugesen , Create a measure
countrows(filter('Date', Date[Date] <= Today() && Date[Date] >= Today() - (selectedvalue(Table[Number])*7) ))
and check the values is not blank in the visual level filter of the slicer
Hi amitchandak
It doesn't seem to work - it doesn't matter if I select 1 or 2 week the measure is 1.
If it worked how could I then use it as a filter for the date slicer?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |