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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.