This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I've got two tables: one is 'sales' data with a single date column; one is 'date' data containing ISO weeks, periods and years, etc.
I've linked the two tables so that I can filter my sales data using the various date information held in the date table. It works well, but the slicers linked to the date table show ALL the values from that table, even though there is not necessarily sales date for all of the dates.
Is there a way to limit what is shown in the date slicers so that only dates relevent to the data in the sales table are shown?
Cheers,
Matty
Hi @Matty,
You can create a calculated column in 'date' table using the formula.
column=RELATED(sales[sale])
Create a New Table based on the column above.
New Table=FILTER('date','date'[column]<>BLANK())
Finally, create a slicer using the field in New Table.
Best Regards,
Angelia
Sure, just add a filter to the slicer to filter out dates with no sales data.
Hi there,
You could create a seperate data table using the calendar function.
Date =CALENDAR (DATE(2000;1;1); DATE(2025;12;31))
Here you could set the maximum date to the latest date in your sales column.
Additionally you could create a slicer that is based off of the sales data. This will only show values that exist within this table.
Thanks,
J
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |