Forum Discussion

Kolumam's avatar
Kolumam
Icon for Post Prodigy rankPost Prodigy
5 years ago

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.

 

 

3 Replies

  • Jimmy801's avatar
    Jimmy801
    Icon for Community Champion rankCommunity Champion

    Hello Kolumam 

     

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

     

    BR

     

    Jimmy

    • Kolumam's avatar
      Kolumam
      Icon for Post Prodigy rankPost Prodigy

      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's avatar
        Jimmy801
        Icon for Community Champion rankCommunity 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

         

         


        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