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

Power Query: Olad connection query creates some custom functions. Where are they to view/edit?

I have an OData query:

= OData.Feed("https://myodatafeed", null, [Implementation="2.0"])

that creates a table with 3 columns, one called 'Data' that either shows Table or Column links that you can click on.  Clicking on Table is ok as it creates a table.

If you click on 'Function' it invokes a function which asks for a parameter and then creates a table filtered on what you entered.

looking at the Invoked Function in the Advanced Editor, you get:

let
Source = CityOnPeriodDates(#datetimezone(2021, 11, 19, 0, 0, 0, 0, 0))
in
Source

 

The issue is that I cannot find the function anywhere to edit/view.

Anybody know where I can find it?

The OData query seems to create the function out of nowhere.

 

Many thanks for looking

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Many thanks for your reply amitchandak.

Unfortunatley no.

For the fx function 'fx City' , in the advance editor I just get:

let
Source = OData.Feed("odatalink", null, [Implementation="2.0"]),
#"x" = Source{[Name="City",Signature="function (Year as number) as table"]}[Data]
in
#"x"

 

When I start from fresh and import the data, I can tick boxes that will import the functions. I find it strange you can import functions from OData.

I can't see what the functions do!

Many thanks

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Is that not visible in power query under tables on left?

https://www.sqlservercentral.com/articles/create-custom-functions-in-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Many thanks for your reply amitchandak.

Unfortunatley no.

For the fx function 'fx City' , in the advance editor I just get:

let
Source = OData.Feed("odatalink", null, [Implementation="2.0"]),
#"x" = Source{[Name="City",Signature="function (Year as number) as table"]}[Data]
in
#"x"

 

When I start from fresh and import the data, I can tick boxes that will import the functions. I find it strange you can import functions from OData.

I can't see what the functions do!

Many thanks

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