Reply
ChrisCologne
New Member
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

avatar user

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)