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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

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

@Anonymous , 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"))

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
AlB
Community Champion
Community Champion

Hi @Anonymous 

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

@Anonymous , 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"))

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors