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
Kolumam
Post Prodigy
Post Prodigy

Change a column value based on a slicer

I have 10 calculated columns that does some calculation for each project. It is something like Year 1, Year 2...Year 10. I do the calculation via Power Query for performance reasons. Now the requirement is I have another table that has all the values of Year 1 to Year 10 for a project which needs to be swapped when a button is clicked.

 

Each row represents a value for a project.

 

Capture.PNG

 

3 REPLIES 3
Jimmy801
Community Champion
Community Champion

Hello @Kolumam 

 

what you mean with swapped? With what these numbers have to be swapped?

 

BR

 

Jimmy

Hi @Jimmy801 

 

I have another table like below which has the values for each column. The numbers need to be swapped with those values.

Any idea as to how I can use a slicer to achieve the same?

 

Jimmy801
Community Champion
Community Champion

Hello @Kolumam 

 

I don't know if I got your right, but what you can do is to combine both tables but adding also a new column, that you use than as filter in your visuals. check out this screenshots

Jimmy801_0-1602221387099.png

 

Jimmy801_1-1602221447862.png

 

Jimmy801_2-1602221467374.png


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

 

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.

Top Solution Authors
Top Kudoed Authors