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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Why this visual is showing extra rows

I have a table 'Sales' (3935 rows) with columns: 'SalesOrder','SalesOrderLine','ProductionOrderKey'. ProductionOrderKey is unique.

 

I have another table 'Production' (8324 rows) with columns: 'ProductionOrderKey','ProductionOrder'. Both columns are unique.

 

The last table is 'Operations' (69,159 rows) with columns: 'ProductionOrder','Operation','TimeTaken'. None of the columns are unique. TimeTaken is a numeric column.

 

The relationships between tables are as follows:

 

'Sales[ProductionOrderKey]'<-'Production[ProductionOrderKey]'

and 'Production[ProductionOrder]'->'Operations[ProductionOrder]'.

 

I have created a measure 'SumTimeTaken' = SUM('Operations'[TimeTaken])

 

I am creating a table visual with Sales[SalesOrder], Sales[SalesOrderLine], Production[ProductionOrder], SumTimeTaken.

 

However the issue is, when I add SumTimeTaken measure to visual, many duplicate rows get created for SalesOrder. I expect that for one ProductionOrder the TimeTaken is summed from Operations table. Attached below is the result I am getting.

 

How can I solve this? 

bigtree123_0-1634205058409.png

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I doubt there is a join issue between Table Operations and the table of unsummarized columns.

 

Ideally sales Order number and Line position should come from common dimension table

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Yes, they SalesOrder and SalesOrderLine come from 'Sales', which is a dimension table

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors