Forum Discussion

JohnnyT48's avatar
JohnnyT48
Helper I
2 years ago
Solved

Merge Tables Power Query in Direct Query

I have a direct feed connection that will not allow file to be published if i import a CSV or Excel data table.    I have copy and pasted data into "Enter Data" and get the 3,000 Cell Message Below...
  • rajendraongole1's avatar
    2 years ago

    Hi JohnnyT48 - When utilizing the "Enter Data" option in Power BI, there is a 3,000-cell limit that you must adhere to.

    Instead of merging the tables in Power Query, you can use DAX to combine the tables within Power BI. This approach avoids the 3,000-cell limit imposed by the "Enter Data" feature.

     

    CombinedTable =
    UNION(
    SELECTCOLUMNS('Table1', "Column1", 'Table1'[Column1], "Column2", 'Table1'[Column2]),
    SELECTCOLUMNS('Table2', "Column1", 'Table2'[Column1], "Column2", 'Table2'[Column2])
    )

     

    or you can also check by choosing the smaller datasets as like 

    Table1: 1000 rows
    Table2: 1000 rows
    Table3: 200 rows
    Append in Power Query:

    Append Table1 and Table2.
    Append the result with Table3.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • JohnnyT48's avatar
    JohnnyT48
    2 years ago

    Thank you very much just tested and it is working, appreciate your help.

    Thank you