Forum Discussion

MartinMason's avatar
MartinMason
Icon for Resolver I rankResolver I
2 years ago
Solved

Gen2 Dataflows - Again appear to have serious issues.

So there's this function that does nothing more than convert a date to a Timecard Period Id.      let GetTimeCardPeriodId = (DateToDetermine as date) => let ElapsedDays = Duration.Days(Dat...
  • MartinMason's avatar
    MartinMason
    2 years ago

    I created a support ticket, 2402060040005927. However, after investigating, think I have identified the root cause. When creating a function, I'm adding a Blank Query and then pasting the M code into the Blank Query definition. That apparently is the root cause. And from that point on, I'm toast. When returning to the dataflow now, the Enable Staging option on that newly created function is disabled, but.....is apparently set to true. And bam, the error is there and cannot be resolved.

     

    To create a function correctly, add a Blank Query and go through without changing. When in the dataflow screen, after creating the let Source = "" in Source query, uncheck the Enable Staging option. Then edit that query with the function definition.

     

    It would be interesting to see if someone else sees the same behaviour in their Fabric tenant.