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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors