title: Power BI | Creating calculated column from date type column in YYYY Q format. E.g., 2018 Q3
body: <p>We have a date column and I would like to create a new column in Power BI in YYYY Q(quarter number) format.</p>
  
  <p>For example, if the date is 11/21/2017 then the new column should store 2017 Q4.
  Later we would like to use the newly calculated column as a slicer on our report.</p>
  
  <p>What is the best approach to achieve this?<br>
  For example please find the sample data below.<br>
  11/21/2018 will be 2018 Q4 in new column<br>
  10/12/2017 will be 2017 Q4 in new column<br>
  02/11/2016 will be 2016 Q1 in new column<br>
  07/10/2018 will be 2018 Q3 in new column  </p>