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
Anonymous
Not applicable

Query the results of an OData query?

Hello,

I have an OData feed that is getting too big. I already select and filter, but I was wondering if it’s possible to do something like query to count the rows of an OData feed. Or manipulate the OData results more than select and filter. Any tips or suggestions?
5 REPLIES 5
nickchobotar
Skilled Sharer
Skilled Sharer

@Anonymous

 

Back to your initial question. Yes. you can query OData and get row counts. Add a custom column and run this function against your feed.

 

Table.RowCount([Data])

image.png

 

 

N -

 

Anonymous
Not applicable

Does this happen before the Odata load? Can you filter the function?

@Anonymous

 

Yes, you get the row count on the binary image - all those tables are not physically loaded into the model. Not sure what do you mean by "Can you filter the function?"

 

N -

v-yuezhe-msft
Employee
Employee

@Anonymous,


What OData service  do you connect to? Do you add select and filter parameters in the OData URL to limit the imported rows? 

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Yes to both. At this point, I'm only downloading the data I need. I did realize after I posted this that I can group the results which helps, but it would be really nice to do this before the data gets into BI to further improve performance. 

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.