Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi
I need to end up with this data back in excel.
Can you think of anything to help please? This whole thing will be better when I am allowed to take the whole process into Power BI and be rid of excel - BUT they won't be letting me do that if I can't solve this simple problem...
Many thanks in advance to anyone who can help a damsel in distress!
Claire
Solved! Go to Solution.
UPDATE: I found this on a different forum which seemed to work!!
There is easy fix to enforce column order in Power Query:
UPDATE: I found this on a different forum which seemed to work!!
There is easy fix to enforce column order in Power Query:
Hi @gingerclaire ,
As a workaround, you can add an index column in power query and export it in batches. For example, for the first time, the data from indexs 1 to 100,000 is filtered and then exported from table visual. The second time, the data from indexs 100001 to row 200,000 is filtered and then exported also from table visual.
Then you can append the two sets of data that have been exported.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks - sorry but it only lets me export 1000 at a time (not 100,000) so i would have to do that lots of times. 😞
Can you copy the query from Power BI to Excel? That seems like the easiest thing.
If you need to pull from Power BI, I'd recommend the Insert Table option in Excel (announced here and here). There is a row limit but you can modify the DAX query that builds the table to remove that constraint and load as many rows as Excel supports (a bit over a 1 million).
I still havent found a solution and it seems craxy to have to 'fix' the data after I export it (when I embarded on this to tody it up).
I have never used queries in Excel, so if you were able to provide any assistance on this I would be very grateful 🙂
This looks great - but I dont seem to have that option in excel 😞
@gingerclaire Any chance you can provide just a few sample rows of data? I would like to try to determine why the columns might be in the wrong order in Table view.
Is using Analyze in Excel acceptable?
What about using an EVALULATE statement in DAX Query View that essentially does a SELECTCOLUMNS to return the table with the columns in the right order?
It is confidential i'm afraid but it is just drawing from an excel where the columns are in the correct order.
Thank you - I have entered the evaluate into the Dax area in PBI which displays the table as is. How to I get it to change the order pls?
@Greg_Deckler, I've see this discrepancy in order before when I add a new column in Power Query. That column usually ends up as the rightmost column when the table is loaded even if it's not in the query editor. It feels like it has some kind of column schema that it updates rather than rebuilding.
Its so frustrating as there are no calculated columns - its just pulling form an excel that is in the correct order. All I am doing is a selection of F&R in power query.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.