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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
tomr
New Member

Column Calculation off slicer value

Currently I have a dataset which tracks production vs a planned figure, however we have 3 different planned figures - one we use for external customers, one for internal customers and another which is an internal department stretch target.

 

What i'm trying to develop is a calculated column which shows production vs the selected plan version the user chooses from a slicer on the visualisation. Example dataset below and type of visualisation I'm trying to develop. 

 

I've seen other ways to do this with measures however I'd like to try and do it as a column as this column is then used to feed in to other calculations.

 

 20-11-2018 9-59-32 AM.jpg

 20-11-2018 10-07-46 AM.jpg

 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@tomr,

 

Select the target columns and choose Unpivot Columns in Query Editor, then drag [Attribute] to Slicer.

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

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@tomr,

 

Select the target columns and choose Unpivot Columns in Query Editor, then drag [Attribute] to Slicer.

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.