How to catch errors in Power BI Dataflow and make refresh successful

  • How to catch errors in Power BI Dataflow and make refresh successful

    Posted by DSC Communities on August 4, 2021 at 10:32 am
    • Zahid Shaikh

      Member

      August 4, 2021 at 10:32 AM

      HiĀ 

      Ā 

      I have few dataflows (on shared capacity) which has a scheduled refresh and refresh fails for below listed error messages

      Ā 

      Error: Expression.Error: We cannot convert the value null to type Logical

      Error: DataFormat.Error: We couldn’t convert to Number

      Ā 

      I have a lengthy dataflow with 60 lines of (applied steps) performingĀ  required transformation or cleansing on data, It gets really difficult to go through each step in PBI Service to find the cause of the error, and I have checked this it do not show any error over there, yet at the time of (on demand or scheduled refresh) the data flow fails with 2 error messages above (shown in RED)Ā 

      Ā 

      Is there an elegant way to Exception handle known errors (so that my refresh do not fail) or what I can do to add additional M code so that it remains full proof and safe from above shown errors and goes through a successful refresh.

      Thanks in Advance

      ——————————
      Zahid
      Power BI Developer
      ——————————

    • Marc Schroyen

      Member

      August 5, 2021 at 3:48 AM

      Hi Zahid,

      Try otherwise can help.
      https://docs.microsoft.com/en-us/power-query/handlingerrors

      ——————————
      Marc Schroyen
      LiĆØge Belgium
      ——————————
      ——————————————-

    DSC Communities replied 4 years, 8 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘How to catch errors in Power BI Dataflow and make refresh successful’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!