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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Append Queries create duplicate values

I have two table, one is coming from Teradata warehouse (Project ID, Project Name, Type, Cost Category, Cost, Funding, Status) and another table is coming from Excel (also with Project ID, Name, Type, Cost Category, Cost). Type includes two types: capital and operating. Cost Category includes: hardware, software, non-labor, interest. After the second table is appended to the first table, in the data model, when I dragged the cost category to a slicer, it shows duplicate for each cost category value (hardware, software, non-labor, interest, hardware, software, non-labor, interest) , but the type does not show any duplicates (only capital and operating) in another slicer. Does any one experience this problem? If so, do you know how to fix this issue? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Turns out that I have some calculation in Query Editor before append queries happen, so I appeneded the queries before the calculationa, and the duplicate values are now removed. 

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

I'm betting that you need to do a Trim or other cleanup of you column. My guess is that you have a trailing space or other type of difference in your actual values.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I tried both trim and clean in Query Editor, but the duplicate values still remain. Do you have any suggestions?

Hi @Anonymous,

 

That's quite weird. Can you share a little sample please? At lease some snapshots.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Turns out that I have some calculation in Query Editor before append queries happen, so I appeneded the queries before the calculationa, and the duplicate values are now removed. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.