Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have seen several other posts covering things that seem similar but ultimately are different.
I have an interval filter which isn't tied to anything:
- Day
- Week
- Month
- Year
I have a date range which is a dax table which has a start and end date based on my model. I'm putting these in a secondary slicer.
- 06/01/2014
- many days between
- 10/4/2018
^This table also has columns for weeknumber, monthnumber, and year.
My goal is to have the user select an interval, and then have corresponding options change the secondary slicer to the relevant options. Ex: The user selects Month in the primary filter and then the second filters options become 1-12. IF the user selects "Day" then the secondary filter becomes all the days, etc.
Is there a way to do this? Thanks!
Solved! Go to Solution.
Thank you yulgu. I actually found a way to somewhat do this. Essentially, creating a date table using
Union(
SelectColumns("Selections", Column1forDays, "Order", 1, "Category", "Days"),
SelectColumns("Selections", Column2forWeeks, "Order", 2, "Category", "Weeks"),
etc for months, years
Then making a primary filter on Category (Days, Weeks, Months, Years from the above).
And a secondary filter on Selections from the above.
The only remaining issue is solving for slicer cross-filtering as once something in the Selection slicer category is selected, it limits the category selections accordingly. I found I can solve this by making the primary filter a table and setting it to ignore the selection slicer via edit interactions. However, that solution isn't very elegant.
Hi @Anonymous,
No. As of now, such a requirement is not supported by Power BI.
Best regards,
Yuliana Gu
Thank you yulgu. I actually found a way to somewhat do this. Essentially, creating a date table using
Union(
SelectColumns("Selections", Column1forDays, "Order", 1, "Category", "Days"),
SelectColumns("Selections", Column2forWeeks, "Order", 2, "Category", "Weeks"),
etc for months, years
Then making a primary filter on Category (Days, Weeks, Months, Years from the above).
And a secondary filter on Selections from the above.
The only remaining issue is solving for slicer cross-filtering as once something in the Selection slicer category is selected, it limits the category selections accordingly. I found I can solve this by making the primary filter a table and setting it to ignore the selection slicer via edit interactions. However, that solution isn't very elegant.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |