Forum Discussion
Anonymous
6 years agoNot applicable
Column reference to 'Date' in table '...' cannot be used with a variation 'Date'
Hello, I am running into an error that occurs when I try to couple two different actions in Power BI. Action 1 - I am creating a new column that finds the corresponding value for the same day the prev...
Anonymous
6 years agoNot applicable
Using the automatically created date hierarchy is a SURE way to screw things up in no time. Please create a proper Calendar.
Also, if you have a big fact table, using CALCULATE in a calculated column will slow things down so much that sometimes it'll not come to a stop.
PREVIOUSMONTH works correctly only on a proper Data table. Never on a column in a fact table.
Best
D
Also, if you have a big fact table, using CALCULATE in a calculated column will slow things down so much that sometimes it'll not come to a stop.
PREVIOUSMONTH works correctly only on a proper Data table. Never on a column in a fact table.
Best
D
Anonymous
6 years agoNot applicable
Thanks for bringing the importance of the CALENDAR table to my attention.
I have gone ahead and created this table in my model. Then in the relationship (attached in original message) I put this table between the Lessor/Lessee Data table and the Exchange Data table connected by the date fields. The same error persists, however.
Is this error message one that you would expect to find if the CALCULATE function is causing the custom column to time out/stop?
Thanks,
Alex
- Anonymous6 years agoNot applicableExchangeDate is completely unnecessary. One of the reasons is the 1-1 connection between this table and Calendar.
Best
D - Anonymous6 years agoNot applicableOnce you have a Calendar table in your model, you CANNOT use any other date field that's connected to this table. All columns in your fact tables MUST be hidden. Please watch this to learn about good modeling habits:
https://www.youtube.com/watch?v=_quTwyvDfG0
and
https://www.youtube.com/watch?v=78d6mwR8GtA&t=1247s
Here's material on time-intel:
https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/
Best
D