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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

@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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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