The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
13 | |
11 | |
9 | |
9 |