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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Pragadeesh
Frequent Visitor

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?

2 ACCEPTED SOLUTIONS
_AAndrade
Super User
Super User

Hi,

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





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

Uzi2019
Super User
Super User

Hi @Pragadeesh 

You can create field parameter using measure.

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

Uzi2019_0-1711535682719.png

 

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

Uzi2019_1-1711535744060.png

 

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

Uzi2019_2-1711535790708.png

 

 

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

Uzi2019_3-1711535889423.png

 

Uzi2019_4-1711535904699.png

 

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

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

2 REPLIES 2
Uzi2019
Super User
Super User

Hi @Pragadeesh 

You can create field parameter using measure.

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

Uzi2019_0-1711535682719.png

 

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

Uzi2019_1-1711535744060.png

 

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

Uzi2019_2-1711535790708.png

 

 

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

Uzi2019_3-1711535889423.png

 

Uzi2019_4-1711535904699.png

 

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

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
_AAndrade
Super User
Super User

Hi,

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





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.