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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors