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
Roym
Helper IV
Helper IV

Count if not linked

I have in my data model two tables. They have a linked relationship between the column 'control.

 

When I create a table in my report to show the issues were the 'control' is not linked this works. The value is column 'issue name' and the filter is 'count of control' isblank. This shows the table of the issues that don't have a control linked.

 

But now I need to make a card that shows how many issues there are that are not linked to a control. When I create the card, and add 'count issue name' as the  field with a filter on 'control is empty or isblank' they both show (blank) as value. I'm not sure in which directing I nee to think to get this working. Anyone any idea?

 

In the below example I would like to see '1' as there is one issue that is not linked to a control. 

 

Table1

Issue namecontrol
issue1control1
issue2 
issuexcontrol3

 

Table2

controlissue name
control1issue1
control2 
control3issuex
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Roym ,

Nor very clear. Two measures I can think off

 

countrows(filter(Table1, isblank(Table[control])))

 

or

 

Countrows(expcept(distinct(Table1[Control]), distinct(Table2[Control])))

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

@Roym ,

Nor very clear. Two measures I can think off

 

countrows(filter(Table1, isblank(Table[control])))

 

or

 

Countrows(expcept(distinct(Table1[Control]), distinct(Table2[Control])))

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

Thanks! Got it working this way

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