Forum Discussion
Dataflow Gen2 Mashup Error
- 3 months ago
Hi RZidaj,
Thank you for reaching out to Microsoft Fabric Community.
Here looks like the issue is related to Dataflow Gen2 handling the Issues column as text during the refresh, while the function is actually returning a table.
So please try explicitly keeping the column type as table and avoid returning null. Please try this below query:
Table.AddColumn(#"Filtered Rows", "Issues", each try fnGetAllIssues([Project Key]) otherwise #table({}, {}), type table)Also please check and remove any automatic changed type step for the Issues column if present.
Thanks and regards,
Anjan Kumar Chippa
Hi RZidaj,
Here looks like the issue is still related to the PRs column. The Table.FromList step looks fine, please change the step back to:
Table.FromList(Source, Splitter.SplitByNothing(), {"PRs"}, null, ExtraValues.Error)
The error is likely happening in a later step during refresh. Please try removing any auto-generated Changed Type after the PR and Issues column is created and explicitly expand the columns directly after creation.
Dataflow Gen2 refresh is somewhat stricter than desktop when handling the nested record or table values, so queries that work in PBIX preview can still fail during Save & Run.
Thanks and regards,
Anjan Kumar Chippa
Hi RZidaj,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
- RZidaj3 months agoRegular Visitor
Hi Anjan!
Just letting you know that I found the issue and unfortunately it was actually rooted in my function. Once I changed the otherwise null in the function too, that's when the issue resolved. Thank you so much for checking if your solution worked!