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
Krcmajster
Helper IV
Helper IV

Dynamic column changing

I am not sure this is possible but better to ask.

 

So I have a column with clasiffication by size SQM:

 

Example:

SQM Class

<1000

1000-5000

5000-10000

>10000

 

Next to it I have a similar column with SQFT classification.

 

Now I have a graph and a filter with SQM Classes and I have measure drop-down where defult is SQM. Is there a possibility that by selecting SQFT from the dropdown, classification column changes and with it filter options and graph brakedown. Graph whont change, only the brakedown

 

 

1 ACCEPTED SOLUTION

To do it you will need to change the datamodel. Instead of having SQM and SQFT in two seperate columns you would need to have the values in the same one:

SizeClass
< 1000SQM
> 5000SQM
< 10000SQFT
> 20000SQM
< 1000SQFT
> 5000SQM
< 10000SQFT
> 20000SQFT


With this you can create a slicer on the class column which should give you the result ur aiming for.

Br,
Johannes


Connect on LinkedIn

View solution in original post

5 REPLIES 5
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Krcmajster 

I cannot fully understand your expected output.Could you show us an example about your expected output with sample data?As far as i know,calculated column could not be dynamic changed by slicer but measure could.Please share more details for us to help with you.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-cherch-msft  see attached photos:

 

Size in SQFTSize in SQFTSize in SQMSize in SQM

 

I want the categories (classes) to change when I select different measure from the slicer (SQM, SQFT)

You want the same diagram to be able to switch between SQM and SQFT depending on what you filter on in your slicer? 


Connect on LinkedIn

@tex628  Exactly

To do it you will need to change the datamodel. Instead of having SQM and SQFT in two seperate columns you would need to have the values in the same one:

SizeClass
< 1000SQM
> 5000SQM
< 10000SQFT
> 20000SQM
< 1000SQFT
> 5000SQM
< 10000SQFT
> 20000SQFT


With this you can create a slicer on the class column which should give you the result ur aiming for.

Br,
Johannes


Connect on LinkedIn

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.