Forum Discussion

Naveen_Kumar's avatar
Naveen_Kumar
Microsoft Employee
8 years ago

Slicer maximum value selected by default

By default maximum value should be selected in a slicer
example: My slicer values

if a new value(High) is added then the slicer should become like  automatically.

8 Replies

  • Naveen_Kumar

    You're trying to make a default selection for max slicer value when ever you open your report..

    I fthis is what you are trying to do it,

    Step 1:

    Create a calculated column , find the max value for the column that is used by the slicer. 

    This gives a new MAX column.

    Step 2:

    Create one more calculated column. Use IF statement, if the slicer column value is equal to MAX return that value, else return the rest of the values.

    Step 3: Use the column that is obtained in Step2 as your new slicer column and keep the selection to the max value and save.

     

    That's it. 

    • pxg08680's avatar
      pxg08680
      Resolver III

      Eric_Zhang

      I have done it. Don't know whether it is a right way but it's working fine for me.

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        pxg08680 wrote:

        Eric_Zhang

        I have done it. Don't know whether it is a right way but it's working fine for me.


        pxg08680

        Could you share me the pbix file? Does it even work when data refreshes?

    • Naveen_Kumar's avatar
      Naveen_Kumar
      Microsoft Employee

      As there is a change in our requiremnet, we are least bothered about the current issue.
      Thanks for your concern.

    • Anonymous's avatar
      Anonymous
      Not applicable

      pxg08680  thank you, this was helpful!