Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next 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

Reply
Anonymous
Not applicable

Dynamic Columns via Slicer Selection for Dates

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!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

No. As of now, such a requirement is not supported by Power BI.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.