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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
GulianiG
Helper II
Helper II

Appending 3 files bring headers 3 times

I have 2 solutions to remove repeating headers from this combined data table

Ee IDEe NameEe Status

101

ABCaa
102DEFbb
Ee IDEe NameEe Status

103

dghsaa
104sfghbb
Ee IDEe NameEe Status

105

AgfBCaa
106DgtEFbb


Option 1: To promote 1st row as headers and use Does Not Contain Filter after

GulianiG_0-1694275058358.png

 

Option 2: Remove Duplicate Row from entire table

This option works too because no 2 rows are duplicate in the dataset except the repeating headers

Please suggest
1) Which one is more efficient- I have 30 tables with 6000 rows each to append
2) If there is a technique in combining multiple files from SharePoint folder that can avoid bringing duplicate headers

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@GulianiG Well, I would generally say whichever one supports query folding. However, if it is a SharePoint Folder, I do not believe that supports query folding. For the sake of future proofing, I would probably go with Option 1 as it seems like it would be less seceptible to future problems. Also, if query folding were in play, a simple filter would almost certainly fold.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
GulianiG
Helper II
Helper II

@foodd AND @Greg_Deckler Thank you both
We will be moving sources to SQL soon, so query folding via filter advised would help

Greg_Deckler
Super User
Super User

@GulianiG Well, I would generally say whichever one supports query folding. However, if it is a SharePoint Folder, I do not believe that supports query folding. For the sake of future proofing, I would probably go with Option 1 as it seems like it would be less seceptible to future problems. Also, if query folding were in play, a simple filter would almost certainly fold.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Yes, fully agree, Option 1, and perserve folding with a filter.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.