Forum Discussion
Incremental Refresh from TE3 Gets Nebulous Type Conversion Error
- 2 years ago
This verifies what the problem is. By running this simple DAX query in TE3, I can reproduce the exact same error I was getting:
So, the answer here is, when employing this DAX-based dimDate table and refreshing an "empty" model (metadata-data only / freshly-deployed), to be sure to:- refresh a partition that you are sure has data in the source, first, before the other partitions
- include some error-trapping code in the DAX that accounts for instances where it might return an empty string (BLANK())
I've said it many times and I'll say it again. Creating calendar tables in DAX or Power Query is futile. Those tables are immutable and should be sourced further upstream. You should also never combine Incremental Refresh with Auto Date/Time - exactly to avoid these kind of post refresh computations and to avoid refreshes of related partitions.
Can you tell me what you meant with "with Auto Date/Time"? I don't have any Auto Date/Time columns in this model (or any model ever, for that matter). 😀
- lbendlin2 years agoSuper User
That's good. You can check the partitions. If you see any rogue ones you know that Auto Date/Time is enabled.