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.
Hellp, Power friends,
I have a table (visual) with two date colluns (begin a end date vacation) and a slicer with the vacation date interval. I need to filter the visual to show only the vacations between the slicer date selection. I`ve tried to use measures and a auxiliary table and nothing works. Any ideas?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
I've created a sample for your reference. Please note here we shouldn't create relationship between date table and the fact table.
Measure = VAR mind = MIN ( 'date'[Date] ) VAR maxd = MAX ( 'date'[Date] ) VAR sdate = MAX ( 'Table'[S-date] ) VAR edate = MAX ( 'Table'[E-date] ) RETURN IF ( sdate <= mind && edate >= maxd, "in", BLANK () )
Hi @Anonymous ,
I've created a sample for your reference. Please note here we shouldn't create relationship between date table and the fact table.
Measure = VAR mind = MIN ( 'date'[Date] ) VAR maxd = MAX ( 'date'[Date] ) VAR sdate = MAX ( 'Table'[S-date] ) VAR edate = MAX ( 'Table'[E-date] ) RETURN IF ( sdate <= mind && edate >= maxd, "in", BLANK () )
A date filter on your report page will give you the desired results. Please refer the documentation in the link below.
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |