Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have just moved an SSAS tabular model with a live connection to PBI to directly importing the tables into PBI however the past year calculations do not seem to be working since I changed them over.
I'm using the following measures:
Revenue = SUM('Table1'[Revenue])
However when using a different field in the date table or even switching to the date hierarchy, this returns blanks.
Any ideas?
Solved! Go to Solution.
Did you mark your date table as the date table in your model?
If the Date table is not marked as the date table, time intelligence functions like DATEADD fail if you are looking at any field besides the date field.
It's because the model does not understand that Year / Quarter / Month columns are related to the Date[Date] column for use in time intelligence.
Once you mark it as a date table and identify the date column, all the other columns in the date table will also work for time intelligence functions.
Did you mark your date table as the date table in your model?
If the Date table is not marked as the date table, time intelligence functions like DATEADD fail if you are looking at any field besides the date field.
It's because the model does not understand that Year / Quarter / Month columns are related to the Date[Date] column for use in time intelligence.
Once you mark it as a date table and identify the date column, all the other columns in the date table will also work for time intelligence functions.
Always an oversight somewhere, thank you!
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |