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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
JordanIT
New Member

call data in function column

Hi everyone, I would like display machines corresponding to each of the lines of this requette.How do you call the functions for each lines ?

Capture d'écran 2024-09-24 101455.png

 

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @JordanIT ,

 

Thanks for reaching out to our community.

Could you please tell us if your problem has been solved?

If so, please accept the reply as solution and more people will benefit from it.

Thanks.

 

Best Regards,

Stephen Tao

Omid_Motamedise
Super User
Super User

you can use this function to convert the texts to formula

Expression.Evaluate


If my answer helped solve your issue, please consider marking it as the accepted solution.
Joe_Barry
Solution Sage
Solution Sage

Hi @JordanIT 

 

Can you provide more information on MachineReferences? Are you calling an API or is it another table? What is the relationship between both tables? Is there a machine ID in the table that you would like to join MachineReferences with?

Generally, if MachineReferences is a table, you can use the Merge Queries feature in Power Query. Choose the table where you would like to join MachineReferences. Select the Merge Queries Option. Choose the columns that share a relationship and press ok. Then click on the icon top right of the column header to open the joined columns from MachineReferences.

 

If MachineReferences is an API call. You will need to create a function similar to below. You will then in the table click on Add Column and use the function feature and choose this function.

 

Hope this helps

Joe

let
    GetMachineReferences = (MachineID as text) =>
    let
        Source = Json.Document(Web.Contents("YourAPIURLHere" & MachineID))
    in
        Source
in
    GetMachineReferences






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

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn


Let's connect on LinkedIn


dharmendars007
Memorable Member
Memorable Member

Hello  ,  

In the custom column formula, you'll need to call the function for each row. Typically, if the function is named machinereferences.

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

@JordanIT

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.