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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If youโ€™re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
auduno
Regular Visitor

Automatically changing parameter field dimension based on Slicer Selection

Hello!


I have a report that is structured like this:

auduno_0-1673319689586.png

Table (Matrix Visual):
auduno_2-1673320009200.png


Where I want the Parameter Field for my Dimension called DateAxis to change context to month when a specific year is selected:

auduno_1-1673319813812.png

I've tried many different ways, but haven't found a way to do this in one easy click in my Calendar - Year slicer. I am not the most experienced at DAX so I'm hoping someone knows a good way to enable me to set it up without having to interact with the DateAxis field, like this:

auduno_3-1673320247496.png


Thanks in advance,
Audun

1 REPLY 1
auduno
Regular Visitor

I hacked together a functioning solution. It is not optimal but solves this concrete task.

I did it by creating a table called DateAxisSwitch:

auduno_1-1673365731774.png

Modifying my DateAxis:

auduno_2-1673365766383.png

And connecting the Year column of DateAxisSwitch table to my Calendar and DateAxisKey with DateAxisOrder of DateAxis.

auduno_3-1673365785569.png

Now it looks like this without a year selected: 

auduno_4-1673365953121.png

And this with:

auduno_5-1673365967049.png

 

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.

Top Solution Authors