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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
IF
Post Prodigy
Post Prodigy

dataflow and looping data with function

Hi,

 

I want to use dataflow in order to get data for my reports. However, I don't know if it is possible to use "invoke custom function" for data flows. 

 

For example; I want to extract one month of data from my source. I put month parameter in order to get the data for a month. Later on I develop a new column in the table based on a parameter that I made. Later on I develop a function at the dataflow (app.powerbi.com). Until this stage everything is fine. I have another table for listing the months. I want to invoke that table with the function in order to get data for more than one month. However, there is no option to use "invoke custom function" at the dataflow menu. Actually this is possible at the desktop version. Does anyone know if I can loop the data by using dataflow in this way or another way?

All the best,

 

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi, I'm not sure about the whole explanating, but you can invoke custom function in dataflows. You can basically do almost everything that the query editor does. If you don't find a way and you have it in desktop you can right click on a table and copy to paste in dataflows. You can also copy paste the advanced editor power query code in a data flow blank query for your custom function. Example: https://www.youtube.com/watch?v=YWp4FKzIBxM

Hope this helps,

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi, I'm not sure about the whole explanating, but you can invoke custom function in dataflows. You can basically do almost everything that the query editor does. If you don't find a way and you have it in desktop you can right click on a table and copy to paste in dataflows. You can also copy paste the advanced editor power query code in a data flow blank query for your custom function. Example: https://www.youtube.com/watch?v=YWp4FKzIBxM

Hope this helps,

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi,

The second option works. Thanks.

 

I am not sure about the first one. At least, I don't have that option as you can see from the screenshot.

DataflowDesktop.jpg

Regards,

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.