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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.