Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Buttons to execute a measure

Hi,

 

I have a requirement where I have to display the total number of opportunities and the total number of opportunities won for an individual client.

 

I have created two measures for total opportunities and the opportunities won but I want to display the output via a click.

 

For eg,

 

When I click on the 'Total Opportunities' button, the value of total opportunities for that client should display and 

When i click on 'Opportunities Won' the value of opportunities won should display.

 

Any suggestions on how I can achieve this?

  • Hi,

    You can use fields parameter to archive that behavior.
    Take a look at this example:

  • Hi Anonymous 

    You can create field parameter using measure.

    steps1:got to moedling tab > add parameter > click on filed option

     

    step2: drag and drop your 2 measures from right side to left side

     

    Step3: click on create > slicer is added on your page

     

     

    step4: take your parameter value in your card visual/ on your chart axis / on your table value.

     

     

    As you can see by clicking on different option in slicer it changes values.

     

    I hope I answered your question!

     

     

     

2 Replies

  • _AAndrade's avatar
    _AAndrade
    Resident Rockstar

    Hi,

    You can use fields parameter to archive that behavior.
    Take a look at this example:

  • Uzi2019's avatar
    Uzi2019
    Community Champion

    Hi Anonymous 

    You can create field parameter using measure.

    steps1:got to moedling tab > add parameter > click on filed option

     

    step2: drag and drop your 2 measures from right side to left side

     

    Step3: click on create > slicer is added on your page

     

     

    step4: take your parameter value in your card visual/ on your chart axis / on your table value.

     

     

    As you can see by clicking on different option in slicer it changes values.

     

    I hope I answered your question!