Forum Discussion

yolanda_meng's avatar
yolanda_meng
Advocate I
7 years ago
Solved

Error with PREVIOUSMONTH with calculated column

Has anyone noticed a difference today on PowerBI.com around the PREVIOUSMONTH function?   We have a DirectQuery report that is using this function, the month part was a calculated column from a dat...
  • henriquesilveir's avatar
    henriquesilveir
    7 years ago

    yolanda_meng i got bad news. Now the PREVIOUSMONTH  is not supported into Directquery.

     

    take a look in this article, and you will see: "This DAX function is not supported for use in DirectQuery mode. For more information about limitations in DirectQuery models, see http://go.microsoft.com/fwlink/?LinkId=219172."

     

    After your see this article i reccomend you to see the second link, to see all limitations with DAX. It has been changed probally in this last update.

     

    don't forget to mark this post as solution, other people can have the same situation in the future.