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
BhavnaB
Regular Visitor

In what order are reports returned when calling GetReportsInGroupAsync

We are using Embedded Bi.

 

We use the GetReportsInGroupAsync method to get a list of reports in a workspace and display to our users.

 

In what order are these reports returned?

How can i control this if i want to display the reports in a specific order?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BhavnaB,

Yes, I think it is possible to change the report list orders.

AFAIK, GetReportsInGroupAsync will return a list of reports. You can create a dictionary table with name/key and index and used to compare with current report key with the dictionary table and fill them into another list based on the dictionary table index in looping functions.

After these steps, you can use the new list as source in the following operations and it will keep the 'sort order' as same as your dictionary table defined.

Tutorial: Embed Power BI content into an application for your customers#get-the-content-item-you-wan... 

Integrate Power BI into Your Application: Part 3 – Embed Content 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @BhavnaB,

Yes, I think it is possible to change the report list orders.

AFAIK, GetReportsInGroupAsync will return a list of reports. You can create a dictionary table with name/key and index and used to compare with current report key with the dictionary table and fill them into another list based on the dictionary table index in looping functions.

After these steps, you can use the new list as source in the following operations and it will keep the 'sort order' as same as your dictionary table defined.

Tutorial: Embed Power BI content into an application for your customers#get-the-content-item-you-wan... 

Integrate Power BI into Your Application: Part 3 – Embed Content 

Regards,

Xiaoxin Sheng

Hi @Anonymous 

 

Thanks for the suggestion. We will use dictionary tables to sort them before displaying.

 

Would you know if there's any logic to how the reports will be returned by theGetReportsInGroupAsync , like last updated or in the order they were uploaded?

Anonymous
Not applicable

Hi @BhavnaB,

In fact, GetReportsInGroupAsync is a function to get report lists. I double-check on it but not found any writeback feature to submit changes back to power bi.

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.