Below is a PowerBi Report I created explaining how to properly set up and use some of the inbuilt time intelligence functions within PowerBi and a few use case examples.
Please feel free to open up the report yourself outside of this blog to copy and paste any of the DAX so you can start using these functions yourself!