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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.