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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

OData.Feed returns duplicated rows

Hello,

I'm using the OData.Feed conector to get data from Dynamics CRM custom app.
The problem is when running the query bellow (appended to the uri string) using the OData.Feed and an $expand statment its duplicating all the rows from the expanded table.

If I run the same request with the Web.Contents conector it works fine, so Im guessing it may be a problem with the OData connector?

FilipeSilva_0-1640168938627.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Eyelyn9_0-1640568039623.png

 

Refer to :

https://stackoverflow.com/questions/37988892/odata-expand-and-select-queries-in-url

https://community.powerbi.com/t5/Desktop/OData-Feed-command-with-query-and-options-no-working/m-p/181822

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Anonymous ,
Thank you for your reply!

I'm using the step "Query2" as part of the URI string, not the Query options, I just call it query 🙂
Ive tried out some tests with other sources and the problem didnt occur, so my guess is its some problem with my Dynamics CRM source (witch I cant change).

I've simplified the problem so its easier to read, you can see in the image that the result is returning 4 rows, with 2 duplicates of each "stakeholderId", this shouldnt happen as this field is the unique value of the expanded table, and this specific project only has 2 stakeholders (json response from the same request below)

powerBI:

FilipeSilva_0-1640600278612.png
correct response:

FilipeSilva_1-1640600619068.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors