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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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