The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |