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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Super User
Super User

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


@ 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!:
Mastering Power BI 2nd Edition

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors