Forum Discussion
SAMERPERIODLASTYEAR - Non Contiguous Date Selection Error
- 9 years ago
I get the same exact error message.
I mean the DateKey column specifically?
Yes, I should have been more specific. The DateKey column is type date.
- bblais9 years agoResolver III
Ok, I'm thinking it's something to do with the fact that your Fees Billed measure is filtering by BillSubType. So what's happening is that it's coming up with blanks for some of the past year's dates when it's trying to calculate the Fees Billed and it doesn't like it.
For the heck of it, can you try adding +0 to your Fees Billed formula:
Fees Billed = CALCULATE(SUM(FactTable[AmtBilledForSubtype])+0,FactTable[BillSubtype]="FEE")
I know this won't fix the issue necessarily, but it would confirm what's going on.
- MojoGene9 years agoPost Patron
I tried the suggestion, but it had no apparent effect on any of the 3 measures.
- bblais9 years agoResolver III
Are you using any filters or slicers on the date in your report? If so, make sure they are not using the date column out of the fact table, but instead the date column out of the date table.