Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a Slicer to toggle between millions and thousands

Hello Community,

                               I have a matrix table displaying values for accounts. All the columns are calculated measure. I want to add a slicer for this report so that user can navigate between millions, thousands. I looked up some solutions like create a disconnected table and write switch function, assign the measure. But here I have multiple columns with measures, all these measures should change dynamically between thousands and millions.

If you see the matrix below Working, Plan, LL, YA and all the columns are measures

Is it possible to achieve with the slicer or do I need to create buttons like having two matrix tables one displaying in thousands and another in millions and user can toggle between buttons.

 

Here is the link for pbix file which has measures created in it

https://1drv.ms/u/s!AlTyyZ_9D_WjiWLmwbAGdI66CkRd 

  • Anonymous see attached, I just created a selection table for slicer and also added a column for Denominator

     

    Just for example, in Plan measure, I used Denominator based on the slicer selection and default is kept to 1000. You can apply the same technique to other measures

     

     

3 Replies

  • Anonymous see attached, I just created a selection table for slicer and also added a column for Denominator

     

    Just for example, in Plan measure, I used Denominator based on the slicer selection and default is kept to 1000. You can apply the same technique to other measures

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      parry2k  Thank You, Your solution works perfect.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Great solution! I face the same problem, could you provide the code for the Slicer table with the Sum Denominator column? 🙂

       

      Much appreachiated!