cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
GulianiG
Advocate I
Advocate I

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.


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
GulianiG
Advocate I
Advocate I

@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.


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

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

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors