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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Super User
Super User

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
Super User
Super User

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.