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

Access single value of table through power query for OData.Feed

Hey EveryOne.

I have multiple OData.Feed url to retrive data from Dynamics Crm. These are working fine because I used OData Query to fetch select columns. Each url fetches single table so that there are 20+ different url. 

Now I am facing issue while I need to update based url of each odata services url Like I need fetch same data from my production instead of dropbox crm so I will have to replace all 20+ url again which is labourious task. 

 

I need a solution Like How can I store my base url to any table and access it to OData feed function.

I created a table named ApiLink and tried to used it. but I not working.. error (Expression.Error: A cyclic reference was encountered during evaluation)

let

Source1 = Table.TransformColumnTypes(Source,{{"Link", type text}}) ,
Source = OData.Feed( Source1 & "/ecs_incomegls?$select=ecs_incomeglid,ecs_name", null, [Implementation="2.0"])in
Source

 

or Something link any global variable to store this url means just kinda global static variable to connection strings.

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@MujahidAli ,

 

Replace "Source" with the query name or simply use a Parameter.

Table.TransformColumnTypes(Source
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@MujahidAli ,

 

Replace "Source" with the query name or simply use a Parameter.

Table.TransformColumnTypes(Source
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.