Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to create a slicer that allows you to push a button to select a specific date range. There will need to be overlapping date ranges so the most recent date will be shown as part of Yesterday, This Month and This Week.
At the moment I have created a custom table that sets a label to a date, but I can't get the system to filter the Calender table based on the Date Reference as this is a One to Many relationship that is constantly being swapped to a Many to One relationship so I can either filter in the wrong direction or run the filter in both directions.
Is there a way to get the system to do a single direction filter on a One to Many relationship, or am I approaching this in completely the wrong way and there is a better system to create the filter I want?
Solved! Go to Solution.
@Anonymous,
A calculation group would be a good option. You could create five calculation items, one for each slicer value. Here's an article on how to create them:
Proud to be a Super User!
@Anonymous,
A calculation group would be a good option. You could create five calculation items, one for each slicer value. Here's an article on how to create them:
Proud to be a Super User!
Thanks,
I didn't know that calculation tables existed. They are exactly what I was looking for.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |