Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Solved! Go to Solution.
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
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.