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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
LangeJan
Helper I
Helper I

Count fails when joining more than two tables

I want to compare the contents of two tables 'Actual' and 'Estimate'. 

I compare by making a count of number of itemid´s in 'Actual'

NumberInActual = COUNT('Actual'[itemid]) +0

 

My count works fine when I only have content from two tables 'Actual' and 'Estimate'.

LangeJan_2-1650610390418.png

 

 


But when I include content from a third table 'MetaData', my count fails. 

LangeJan_1-1650610347398.png

 

Can anyone help me with a solution? 
Please let me know if any other information is necesary. Thanks

 

LangeJan_3-1650610444177.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@LangeJan , I think "no of pages" is no summarized, If that is column check for aggregation

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

3 REPLIES 3
amitchandak
Super User
Super User

@LangeJan , I think "no of pages" is no summarized, If that is column check for aggregation

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thanks,
I get the same error if I add one of the other coloumns from the 'Metadata table'.
Its like I dont have a uniq relation when I add the column "no of pages".

 

LangeJan_0-1650626890500.png

 

@amitchandak You are absolutely right, Thanks
I changed the "no of pages" from aggregation to number.

LangeJan_1-1650628076127.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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