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
mandihu
New Member

Create a conditional column in Table based on slicer selection

I need to create a customized table that enables users to select which dimension(s) they would like to have for the measure(s).

 

For example, I have a table like below:

ItemRegionCountryUnit Sold
Aeh100
Aei200
Bfj300

 

But now, I would like to have the column Region and Country be dynamic according to the selection of the corresponding dimensionSlicer. That is, I have two dimensionSlicers like below:

 

dimensionSlicerA

ValueA
Region
Country
Show Blank

 

dimensionSlicerB

ValueB
Region
Country
Show Blank

 

If the user selects 'Region' in dimensionSlicerA and 'Show Blank' in dimensionSlicerB, the original table will then be:

ItemRegionShow BlankUnit Sold
Ae 300
Bf 300

 

 

1 REPLY 1
lbendlin
Super User
Super User


You cannot create a calculated column or calculated table from a measure.

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.