Hi @Dineshn
Tip for sharing code:
The error says that you are trying to compare two different types elements one as datetime and the other as string. But I can’t find this comparison in your code.
Also tag your question as Dash (first option) instead of Plotly to receive more answer for Dash users.