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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ChrisCologne
New Member

Show entries with zero result of specific value

Hi all,

 

I have a little count / group by issue. My data is as follows: 1 Row has references(=link) to other rows. Each reference has a "type". It can be "related" or "child" or "tested by" (this data is coming from Azure DevOps). Now what I want to do is: Show all rows which are missing a specific reference/link type. Here is the data:

 

data.png

 

Left two columns show the source item, right two columns the referenced/linked item. I need to know: Which source items do NOT have at least one reference of type "Test Case". In the above example all except 12805 should be in the result.

I already did a group by but that doesn't have the condition I need.

 

Any ideas?

Thanks!!

Best,

Chris

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @ChrisCologne 

You could create a measure, then apply the measure to visual level filter so the table visual only show rows where [measure] =1

 

Measure = var c=CALCULATE(COUNT(Table2[WorkItemId]),FILTER(ALLEXCEPT(Table2,Table2[WorkItemId]),Table2[Links.WorkItemType]="Test Case")) return IF(c=BLANK(),1)

 

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @ChrisCologne 

You could create a measure, then apply the measure to visual level filter so the table visual only show rows where [measure] =1

 

Measure = var c=CALCULATE(COUNT(Table2[WorkItemId]),FILTER(ALLEXCEPT(Table2,Table2[WorkItemId]),Table2[Links.WorkItemType]="Test Case")) return IF(c=BLANK(),1)

 

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlB
Community Champion
Community Champion

Hi @ChrisCologne 

CAn you paste a smaple of your data here in text-tabular format (instead of in a screen cap)?

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

Cheers 

SU18_powerbi_badge

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors