Forum Discussion

scooby1380's avatar
scooby1380
New Member
8 years ago
Solved

column ref to 'createdon' cannot be used with a variation 'Date' because it does not have any.

Hi There,

 

new to Power BI and looking for a little help/advice on this error.

 

we have 2 different reports created in Desktop, 1 is using direct Query, and the other Import for the data.  the tables and relationships in the 2 reports are the same

 

we have added the same measure to both.  in the report using Direct Query we get the error above.  wondering if it is something to do with using Direct Query or not?

 

thanks in advance

  • Stachu's avatar
    Stachu
    8 years ago

    I think switching to import should be the last resort, I'd suggest rewriting current syntax using DATEADD to something using e.g. FILTER etc. - if possible
    can you share the syntax that gives the error & the structure of the tables included?

5 Replies