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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.