Select modeling tab, and the data type calculated column should be 'Time'.
Thinking of learning Power BI? Here is the opportunity provided by Intellipaat to earn a certification in Power BI Course.
Also, check out our YouTube video to know the data visualization basics and best practices with Power BI