Forum Discussion
PREVIOUSDAY function Duplicate Dates Error
- 6 years ago
Hi , pprasad2
I can reproduce your problem. For more details ,please check the sample file.
You are using time intelligence functions PREVIOUSDAY which is suggest to use with a separate date table/dimension.
There are duplicate values(Date Range) in your table ( same date in multiple rows ).
It is suggest to create a calendar table with unique and continuous dates that cover all periods of your fact table.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , pprasad2
I can reproduce your problem. For more details ,please check the sample file.
You are using time intelligence functions PREVIOUSDAY which is suggest to use with a separate date table/dimension.
There are duplicate values(Date Range) in your table ( same date in multiple rows ).
It is suggest to create a calendar table with unique and continuous dates that cover all periods of your fact table.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- hanifkopu962 years agoNew Member
Hi v-easonf-msft, can you provide the sample file again? I cannot access the sample file. Thank you