Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

The expression specified in the query is not a valid table expression

Hi, please I am using table variable and when i call the table name "evaluate tbl "with evaluate it works but when I use it in the context of countrows it returns the error above * DEFINE VAR fsum...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Sorry, I thought your problem was in PBI.

     

    In Dax Studio you need to use the following to check the result of a measure:

    return
    ROW("Result:", COUNTROWS(tbl))