Forum Discussion

EdWatson's avatar
EdWatson
Frequent Visitor
5 years ago
Solved

May 2020 RS New DAX Function COALESCE doesn't work

I was excited to see when we upgraded to the May 2020 version that we can finally use coalesce as a dax function.  I loaded it right in tabular and deployed. Doesn't work. "Failed to resolve name COALESCE" even though SSAS tabular model correctly calculates it before deployment.  A friend said oh no it works inside of Power BI, ummm ok let me try that.  I typed in a new measure:  TESTMeasure = COALESCE (1,2) and immediately I see the red squiggly lines of terror. When I hover over them it says Cannot find name 'COALESCE' and 'COALESCE' is not a function.  So what happened to the May 2020 new features (Power BI Report Server May 2020 Feature Summary | Microsoft Power BI Blog | Microsoft Power BI)?

 

Ed Watson

  • Maybe you are connected to a SSAS Tabular Model like I was. It does not work then. My SSAS Model is Compatability level is 1500.

8 Replies

  • KBO's avatar
    KBO
    Memorable Member

    Hi EdWatson ,

    I can't say why it won't work in youre case. I test it and it works perfectly fine in May2020 Desktop for Power BI Report Server

     

    Maybe deinstall and install it again 🙂

     

    Best,

    Kathrin

     

     

     

     

    If this post has helped you, please give it a thumbs up!
    Did I answer your question? Mark my post as a solution!

  • Alex_PBI's avatar
    Alex_PBI
    Frequent Visitor

    Maybe you are connected to a SSAS Tabular Model like I was. It does not work then. My SSAS Model is Compatability level is 1500.

    • EdWatson's avatar
      EdWatson
      Frequent Visitor

      I am connected to tabular. That should be noted in the documentation. Also shouldn't tabular work better than import lol.

       

      • Alex_PBI's avatar
        Alex_PBI
        Frequent Visitor

        Yeah, it is frustrating.
        I only found out because my colleague pointed me to https://dax.guide/coalesce/ and on the right side there is a menu called "Compatability" and at the end of it there is an option to "Show verified builds".

        When you click that you will notice there is no build version mentioned at SSAS Tabular.