Forum Discussion
gvg
9 years agoPost Prodigy
What is contiguous selection?
Some functions only work with "contiguous selections". What are they exactly? For example, Function 'SAMEPERIODLASTYEAR' expects a contiguous selection when the date column is not unique, has ga...
- Anonymous9 years ago
Right, but it's not a big deal :) You need to create a separate date table, then relate your current table, to the date table.
Probably the easiest way is to use New Table in the Modeling ribbon, and type "Dates = CALENDARAUTO()"
Anonymous
9 years agoNot applicable
Right, but it's not a big deal :) You need to create a separate date table, then relate your current table, to the date table.
Probably the easiest way is to use New Table in the Modeling ribbon, and type "Dates = CALENDARAUTO()"
Anna_O
5 years agoFrequent Visitor
Hi! Could you please help me? I created a new calendar table for reference, activated time intelligence, built a relationship between my two tables (calendar table and Sales data dump table), but can't figure out my formula now.
TotalSales LAST YEAR = Calculate([Total Sales],DATEADD('Sales Data Dump'[Posting Date],-1,YEAR))
I tried to use my date reference table instead - TotalSales LAST YEAR = Calculate([Total Sales],DATEADD('Calendar Table'[Date],-1,YEAR)) - but it's not working either.
My Total Sales are calculated this way:
Total Sales = SUM('Sales Data Dump'[Sales Amount (Actual)])
I'm missing something...