Forum Discussion
Power BI Dataflow "HelloWorld" Function Call Works in Preview but Fails on Refresh
AI-assist on the post content. 🙂
Description:
I'm encountering a frustrating issue with Power BI Dataflows. I've created the absolute simplest function call to test refresh behavior. The function works perfectly in Power Query preview but fails when refreshing in Power BI Service.
Repro Steps:
I created two simple scripts:
Function Definition (fx_HelloWorld):
fx_HelloWorld = (Hello as text) => true
Function Call:
Expected Behavior:
- The function should return true when called.
- Since it works in preview mode, it should also refresh successfully.
Actual Behavior:
- âś… Preview mode works fine.
- ❌ Refresh fails in Power BI Service with the following error:
Error Details (From Refresh Logs):
Error Details: We encountered an error during evaluation. Details: A localization error has been logged, it is safe to continue. Message: "Unknown evaluation error code: {errorCode}" Parameters: "104100" (Request ID: 6648b7de-4c53-4985-b75e-88f8c386e2e8)Troubleshooting Steps Taken:
âś… Verified that the function is defined correctly.
âś… Confirmed that there are no dependencies, external sources, or complex transformations.
âś… Simplified the function to the absolute minimum (=> true).
âś… Checked that it works inside the Power Query editor.
✅ Tested different parameter values—same result.Questions:
- Has anyone else encountered this issue?
- Is this a known bug in Power BI Dataflows?
- Any workarounds to force a successful refresh?
Would appreciate any insights! 🚀
- Anonymous1 year ago
Hi krmiller,
If you are still unable to solve the issue or you think there is a bug then you can reach out to Support by raising a ticket with Microsoft Support.
Please refer below link on how to raise a contact support or support ticket.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft LearnIf I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support TeamIf this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
8 Replies
- krmillerMicrosoft Employee
I'm obviously trying to do something much more complex than the hello world above, but I just kept simplifying the query to try to root cause the issue until I arrived at the above, which I can't simplify any further.
- AnonymousNot applicable
Hi krmiller,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you are facing issues with refresh in your PowerBi Service when you are trying to refresh your dataflow. Try to specify the return type as "Logical" and redo the steps.
If you are still unable to solve the issue you can reach out to Support by raising a ticket with Microsoft Support.
Use the below link to raise a ticket with Microsoft support:https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support TeamIf this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
- AnonymousNot applicable
Hi krmiller,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help?
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.- krmillerMicrosoft Employee
Explicitly setting the return type didn't help.
I think the only recourse I have here is to file a bug. In the meantime, I have abandoned this approach. If Hello World doesn't work, this simply is not a path forward for me.- AnonymousNot applicable
Hi krmiller,
If you are still unable to solve the issue or you think there is a bug then you can reach out to Support by raising a ticket with Microsoft Support.
Please refer below link on how to raise a contact support or support ticket.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft LearnIf I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support TeamIf this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
- AnonymousNot applicable
Hi krmiller,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.
Thank you. - AnonymousNot applicable
Hi krmiller,
Could you please confirm if the issue has been resolved after raising a support case? If a solution has been found, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.
Thank you.