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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sidyahmed_pbix
Frequent Visitor

keep the same row order from power query to power bi table

sidyahmed_pbix_0-1656085343763.png

 

data from power query we have null, null from the first two rows in the column COMPT_GENERAL

 

sidyahmed_pbix_1-1656085385304.png

data from the power bi table they have not the null.

 

Can someone helpe me to find solution please.

 

2 REPLIES 2
Hariharan_R
Solution Sage
Solution Sage

Hi @sidyahmed_pbix 

You have 2nd and 4th row is the first 2 rows in Power query. Power query just show sampling for 1000 rows so it will not show all the rows. You can use sort option to sort the columns. if you still want to see as same as Power query then you can create a Index column in Power Query and use that column for sort by column for COMPT_GENERAL.

 

Sort

Hariharan_R_0-1656086213832.png

 

Index Column

Hariharan_R_1-1656086237254.png

 

Sort by column

Hariharan_R_2-1656086272708.png

 

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


I need to export it after the cost the index column will appear in the csv file I tried this solution it works but the fact the index is found in the file after export poses a problem for the customer

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.