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
harsh
Helper I
Helper I

CRM connection Query Needed !

Hello,

 

Right now I am connecting to CRM dynamics using Odata Feed and here is the query which is working.

 

https://cne*******.com/XRMServices/2011/OrganizationData.svc/cdi_surveyanswerSet?$filter=statecode/Value eq 0&$select=cdi_Value,cdi_surveyanswerid,cdi_PostedSurveyId,cdi_contact_cdi_postedsurvey,cdi_question

 

Here's the thing I need to know,

1. I imported all the table called "cdi_surveyanswerSet" and got the column names from there but it says invalid column name "cdi_surveyanswerid" of table "cdi_surveyanswerSet", where to check what's the exact column name.

2. I wanted to apply filter like cdi_question = "Some String" and cdi_modified_on > (sysdate() -1) just like we do in SQL

 

Could you please help me with my query ?

1 ACCEPTED SOLUTION
KHorseman
Community Champion
Community Champion

You should not write your query into your OData connection string. Just connect and use the query builder to pick a table and select columns. The query editor has a full set of tools for doing this which allows you to see the names of the columns so you don't get errors that you can't diagnose. See my answer in your other thread.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
KHorseman
Community Champion
Community Champion

You should not write your query into your OData connection string. Just connect and use the query builder to pick a table and select columns. The query editor has a full set of tools for doing this which allows you to see the names of the columns so you don't get errors that you can't diagnose. See my answer in your other thread.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.