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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Group by two columns and bind aggregated column to Guage

Data:

APIMDateTotal runsFailed RunsSuccessful Runs
APIM 110/1/20201001090
APIM 110/2/20201002080
APIM 110/3/20201003070
APIM 110/4/20201004060
APIM 110/5/20201005050
APIM 110/6/20201006040
APIM 110/7/20201007030
APIM 110/8/20201001090
APIM 110/9/20201002080
APIM 110/10/20201003070
APIM 110/11/20201004060
APIM 110/12/20201005050
APIM 210/1/20201001090
APIM 210/2/20201002080
APIM 210/3/20201003070
APIM 210/4/20201004060
APIM 210/5/20201005050
APIM 210/6/20201006040
APIM 210/7/20201007030
APIM 210/8/20201001090
APIM 210/9/20201002080
APIM 210/10/20201003070
APIM 210/11/20201004060
APIM 210/12/20201005050
APIM 310/1/20201001090
APIM 310/2/20201002080
APIM 310/3/20201003070
APIM 310/4/20201004060
APIM 310/5/20201005050
APIM 310/6/20201006040
APIM 310/7/20201007030
APIM 310/8/20201001090
APIM 310/9/20201002080
APIM 310/10/20201003070
APIM 310/11/20201004060
APIM 310/12/20201005050

 

Requirement:

We want to display 3  controls i.e. "Guage"s to display Success Percentage for each of the APIMs i.e. APIM 1, APIM 2, APIM 3.

For example, APIM 1, we will calculate success percentage for all the dates and display that success percentage in a Guage.

Similarly for APIM 2 and APIM 3as well.

 

We are unable to find a solution to display. Please help!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@maheshchubb123 , You can create a measure like this and use the visual level filter for APIM 

Success % = divide(sum(Table[Successful Runs]),sum(Table[Total runs]))

 

or create three measures

APIM 1 = calculate([Success % ], filter(Table,Table[APIM] ="APIM 1"))

 

 

View solution in original post

2 REPLIES 2
AlB
Super User
Super User

Hi @maheshchubb123 

You can just place this measure in a gauge visual:

Measure = 
DIVIDE(SUM(Table1[Successful Runs]),SUM(Table1[Total runs])) 

and use the APIM column in a slice to select which one you want to see

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

amitchandak
Super User
Super User

@maheshchubb123 , You can create a measure like this and use the visual level filter for APIM 

Success % = divide(sum(Table[Successful Runs]),sum(Table[Total runs]))

 

or create three measures

APIM 1 = calculate([Success % ], filter(Table,Table[APIM] ="APIM 1"))

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.