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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Everton
Helper I
Helper I

Power BI get sort order of table

Hi,

 

Using the Power BI Client API, I can see it is possible to set a sort order of a visual, I'm wondering if it is possible to get the sort order of a visual that the user has set?

 

Sort a visual by a target data field in Power BI embedded analytics | Microsoft Docs

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Everton,

Unfortunately, you can't get the 'sort by' information from visuals. I check and test with the 'get visuals' function but it seems not include this type of information. (the visual object include four properties but does not include the 'sort by')

Get pages and visuals in a Power BI embedded analytics application | Microsoft Docs

Regards,
Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Everton,

Unfortunately, you can't get the 'sort by' information from visuals. I check and test with the 'get visuals' function but it seems not include this type of information. (the visual object include four properties but does not include the 'sort by')

Get pages and visuals in a Power BI embedded analytics application | Microsoft Docs

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.