Forum Discussion

callum's avatar
callum
Helper II
9 years ago
Solved

Preserving row order from source

Hi,

 

I'm building a custom visual. When in the query editor and also in the Data tab, the data is in a specific order - the order that it's in in the source .csv file.

 

However, when I publish the file and access the data in my custom visual, this order does not get preserved!

 

Is there any way to make it so?

 

Thanks

  • Going to depend on the specifics, but you could add an Index column to your import and then do a Sort By on that Index column perhaps.

1 Reply

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Going to depend on the specifics, but you could add an Index column to your import and then do a Sort By on that Index column perhaps.