Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |