Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Hell-1931
Helper II
Helper II

Need to calculate a column which will add "1" value to the beginning / end of each Quarter in Date

I have the following Episodes table:

 

Epi_ID    Month

     22     01/01/2019

     22     02/01/2019

     22     03/01/2019

     22     04/01/2019

     22     05/01/2019

     23     03/01/2020

     24     06/01/2020

 

I need to create a calculated column wish will place "1" value for each beginning / end of the Quarter in [Month] column, otherwise should be "0" value,  as below:

 

Epi_ID    Month            NewColumn

     22     01/01/2019    1

     22     02/01/2019    0

     22     03/01/2019    1

     22     04/01/2019    0

     22     05/01/2019    0

     23     03/01/2020    1

     24     06/01/2020    1

 

 

   

1 REPLY 1
lbendlin
Super User
Super User

why no 1 for April? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.