Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a fact table named Onbaording Report that contains multiple records for suppliers that have sent Purchase Orders and Invoiced on those Purchase Orders.
I have a Dimension table of Suppliers named Supplier Lookup that contains suppliers that Are AND ARE NOT present in Onboarding Report.
I have a One to Many Relationship present between the two tables as shown below.
I Created the below measure to count the number of suppliers in scope from the Supplier Lookup table.
I have written the below measure to count the suppliers present in Suppier Lookup and NOT in Onboarding Report.
@Anonymous
Could we go at it the other way. Calc the whole count, the count of those present then the difference is the count of those missing?
Number Suppliers Not Sent POs =
VAR _AllSuppliers =
CALCULATE ( DISTINCTCOUNT ( 'Supplier Lookup'[SupplierKey] ) )
VAR _PresentSuppliers =
CALCULATE (
DISTINCTCOUNT ( 'Supplier Lookup'[SupplierKey] ),
'Onboarding Report'
)
VAR _MissingSuppliers = _AllSuppliers - _PresentSuppliers
RETURN
_MissingSuppliers
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!