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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ChristianE
Frequent Visitor

Counting results of a measure in another measure, for use in a circle diagram

I have a made three measures which, when put into a table show the following:

HeadlinePartCompletenessTargetReached Target
ExampleRearMirror75 % 50%Yes
DescriptionThis is how they are groupedShows how many cars we have the part onThe amount we need the part on, taken from another tableYes/No
DaxFormulaNone
Var AntalModeller = [AntalModeller]
VAR Vare = CALCULATE(
DISTINCTCOUNT(SamVar[K3TYNR]);
FILTER(SamVar;SamVar[Vare?] = 1
)
)
Return
1+IF(not ISBLANK(Vare);
DIVIDE(Vare - AntalModeller ; AntalModeller )
)
None
IF('Gapmeasures'[Completeness] > AVERAGE('Target'[Target]);Yes;No)
 
What i want is to show how many of the parts are on/above target (preferably in a circle), like "5 out of 9"
But i can't seem to figure out how to make it calculate the reached target for every target in the same diagram
 
Can anybody help?
2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,

I appreciate your posting, but can you be a little more specific as to where you think i could improve my post (since it, to me, does look like it ticks all the boxes)?

 

Granted the formatting could be better but for some reason it removed the grind in my table when i posted it

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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