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 all, I am trying to show a 3 week snapshot based on the selected date that the user chooses.
So for 1/1/2022, in the table i would like to only see 1/1/2022 to 1/21/2022 and the bookings associated with those dates. Both of the dates being used in the slicer and table are the same date column in the Calendar table. I tried ranking the dates but that appears to be ranking per row in the table. Thank you for the help.
Solved! Go to Solution.
hi @abeirne
you would
1) need an isolated table for the Date slicer
2) plot the table visual with a measure refering the slicer-selected value like this:
@Booking =
VAR _date = SELECTEDVALUE(datetbl[Date])
RETURN
CALCULATE(
MAX(data[Booking]),
KEEPFILTERS(data[Date]>=_date &&data[Date]<=_date+13)
)
i worked like this:
hi @abeirne
you would
1) need an isolated table for the Date slicer
2) plot the table visual with a measure refering the slicer-selected value like this:
@Booking =
VAR _date = SELECTEDVALUE(datetbl[Date])
RETURN
CALCULATE(
MAX(data[Booking]),
KEEPFILTERS(data[Date]>=_date &&data[Date]<=_date+13)
)
i worked like this:
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 |