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
mar_brz_12
Regular Visitor

duplicate values on each row of the table

hello,

 

I have a problem with duplicate summary value on each row of my table.

I need to see production output for each type of the product. I have data table with output data, and look up table with production plan. They are related by the table with departments numbers.

 

When I try to compare plan & output by the type of product I see summary qty of output in each row of column.

In "Supercharge power bi" I read that it's because the relation between tables is not double-sided.

How can I solve that problem ?

I will be very thankful for any help.  Smiley Happy

Capture.JPG

5 REPLIES 5
mar_brz_12
Regular Visitor

and also a screen of relation between prodPlan and Output by DEP table.

 

Capture.JPG

@mar_brz_12 What's the logic behind the two measures "Plan Prod Total" and "Daily Plan" also if possible, please post the Dept sample data. I believe the first table you posted was Output data and followed by ProdPlan table (but the structure wasn't same)





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




@PattemManohar first table is output table and it is totally different source and table than prod plan. Output is daily updated by production results, its dynamic every day, but with history saved. Plan is static file for every week. We need to have total plan which is needed to see weekly realization, and daily plan (weekly plan devided by 5 days per week) to see daily realization.

 

Dept is just a dictionary of all departments ( that which you can see as dept on table prod plan : 30,31,32,33,34 etc.) I had made that table because I can't have relation many to many, so that dictionary make this relation possible.Capture.JPG

PattemManohar
Community Champion
Community Champion

@mar_brz_12 Could you please confirm whether you are using the Dept. field from your looking table (production plan dimension) but not from the output data in the table visual.

 

Sample data in copiable format will be helpful.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




 @PattemManohar , yes I am using dept field from looking table.

 

Below you can see how Output source is looking:

OutputPartBuyerOutput DateDept.Dept_2Week Year
30015774531122018.05.2131BD201821
18017200331032018.05.2131Coating201821
10013145431062018.05.2131BD201821
45012615131082018.05.2131BD201821
10013147031062018.05.2131BD201821
44M5291431032018.05.2131Coating201821
4016948531032018.05.2131Coating201821
414178331032018.05.2131Coating201821
16M5161131032018.05.2131Coating201821
5011326831062018.05.2131BD201821

 

and below you can see a part of source data, later all that types of products (Instrument, new, no name 2 etc) they become as one named as : Atrybut. (by transpose of matrix)

 

wkDEPInstrumentnewno name 2othersProgrammingBDShellCoatingtube cutting
20180130100000100    
201801322 9000002 300    
2018013310 50000011 000    
2018013400000    
20180136300000300    
201801373 1000002 000    
2018013815 00000017 000    
201801391 8000002 000    
201801426 0000001 500    
201801451 00000050    
20180149         
2018015412 000010 000012 500    
2018015600003 000    
201801588000050    
201801594 40001 6004 1004 600    
20180131     48 0002 0001 047 3000

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.