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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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

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

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.