Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Combining SharePoint Excel Files but Removing rows beforehand

I am using PowerBi to combine excel files that are placed in a SharePoint Folder, however everytime I do, I receive an error. I beleive it's because of the 03/03/2020 part in the first row. Every excel fiel is the same format and structure. Everytime I combine it, it only Transforms the sample file. For Instance, the file name 03.01.2020 is the same file and is transformed with the Source.Name in the first column....but gives errors for all the other excel files. Is there anyway to clean up the excel files before combining them within PowerBi? Below is an example of what the excel file looks like.

 

 

03/03/2020                                                                                              Display                                                                                                    1   
           
           
 NameName 1Name 2Name 3Name 4Name 5Name 6Name 7Name 8        Quantity
           
 1011121314151617180
 12141618202224262830
 1417202326293235380
 1620242832364044480
 1823283338434853580
 2026323844505662680
 2229364350576471780
 2432404856647280880
 2635445362718089980
 28384858687888981080
 304152637485961071180
  • Hi Anonymous 

    It is a known issue.

    It would be fixed in March version.

    You could find some workarounds shared by others here.

     

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hey v-juanli-msft , thanks for the response. I have tried this approach but keep receiving an error message; "Error: The active item should be a query"

       

       

      • v-juanli-msft's avatar
        v-juanli-msft
        Community Support

        Hi Anonymous 

        It is a known issue.

        It would be fixed in March version.

        You could find some workarounds shared by others here.

         

        Best Regards
        Maggie
        Community Support Team _ Maggie Li
        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.