- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thank you for the kudos 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is it time intelligence related measure? they do not work in Direct Query
https://docs.microsoft.com/en-us/power-bi/desktop-use-directquery#limitations-of-directquery
https://docs.microsoft.com/en-us/sql/analysis-services/tabular-models/dax-formula-compatibility-in-d...
Thank you for the kudos 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Stachu,
thank you for the response.
we are using DATEADD, so by your response we would need to swith the mode to Import to get use of these?
many thanks
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thank you for the kudos 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Stachu,
many thanks ill look into re-writing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
good luck 🙂
Thank you for the kudos 🙂

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
11-21-2023 03:15 AM | |||
03-19-2024 11:39 AM | |||
05-03-2024 10:54 AM | |||
Anonymous
| 05-23-2024 07:25 AM | ||
08-08-2024 10:34 PM |
User | Count |
---|---|
131 | |
102 | |
85 | |
53 | |
46 |