Forum Discussion

SCA01's avatar
SCA01
Frequent Visitor
6 years ago
Solved

This Model Does Not Have a Named Expression

This problem is becoming more generalized in our desktop reports and is caused by Measure tables. Finding information on the problem is difficult and I have seen many solutions and tried several, changing name of the table, enabling/disabling load, renaming, etc. The problem is that the solutions are not repeatable, I had one report that every time I  refresh I have to change the name of the measure table over and over again. Does anyone have a technical document that describes the root cause of this problem so that we are not trying multiple solutions whenever the problem occurs?

Thanks for your help.

  • Do you have the Enhanced Dataset Metadata preview feature enabled (https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-enhanced-dataset-metadata)?  If so, we're aware of an issue that causes the missing named expression error on refresh/apply changes if you have a table that contains measures/calc columns but no data columns. The workaround for now, as you've already observed, is to add a column to the "measure-only" tables.

     

    Once the fix is released, you will not need this placeholder column.

     

4 Replies