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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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-cherch-msft
Employee
Employee

Hi @tomr

 

It seems you may use 'Unpivot other columns' in query editor. Show a simplified sample as below. If it is not your case, please explain more about your expected output.

1.png

 

Regards,

Cherie

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.

View solution in original post

1 REPLY 1
v-cherch-msft
Employee
Employee

Hi @tomr

 

It seems you may use 'Unpivot other columns' in query editor. Show a simplified sample as below. If it is not your case, please explain more about your expected output.

1.png

 

Regards,

Cherie

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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