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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tslowik131
Frequent Visitor

Column changing based on filter

Hi,

 

I have two groups that contain differently grouped names for accesories: Group1 and Group2. I also have a Matrix were this group is used as rows. What I want to have is when the filter for month is < August 2021, I want to use Group1 as  rows, and when the month filter is >= August 2021, I want to use Group2 as rows. Below simple visual presentation.

 

When it is filtered on < August 2021

tslowik131_0-1634732705748.png


When it's filtered > August 2021 

tslowik131_1-1634732804102.png

Basically what happend in August is that the components of the groups changed and I still need to keep the visual representation for before August and after.

 

I tried doing SELECTEDVALUE and SWITCH, however I couldn't create a measure that allow for it.

 

Thank you

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Measures/Filters cannot impact columns. They can only impact other measures.

 

What you could do is swap out visuals via bookmarks.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Measures/Filters cannot impact columns. They can only impact other measures.

 

What you could do is swap out visuals via bookmarks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.