Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All
Is there a way to add multiple date filters such as date range, month, week in separate slicer or drop downs and when a user selects one it clears other filters and shows the data filtered by the last selected filter? For example, first the user select a week - say week 41 and data is now filtered to week 41. Then the user selects a different filter for the month and selects July 2022 , now only show data for July 2022 and clear the week filter. Essentially having multiple OPTIONS to filter date-based data.
Thanks
@samantha75 , You have create a table joined to you date table which basically an unpivoted version and use that
union(
selectcolumns(Date, "Date", [Date], "Period", "Week", "Value", [Week No], "Sort", [Week Sort]),
selectcolumns(Date, "Date", [Date], "Period", "Month", "Value", [Month Year], "Sort", [Month Sort])
)
Join the with date , force Many to Many and filter direction from this table to date table.
then use this table in the slicer, If needed make a hierarchical slicer
Approach is very similar to
Power BI - Show Grand total row or Avg Grand total row in Visual: https://youtu.be/OSwRZ4GUhxc
User | Count |
---|---|
84 | |
73 | |
70 | |
42 | |
35 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |