Forum Discussion

srk_powerbi's avatar
srk_powerbi
Helper II
5 years ago

help..create a calcuated column in date table

hi ,

 i have date table like below. what  am trying to do is to create calculated columns for

'fiscal_yr_startdate, fiscal_yr_enddate, fiscal_qtr_startdate,fiscal_qtr_enddate, fiscal_month_startdate, fiscal_month_startdate, fiscal_week_startdate, fiscal_week_enddate. Please suggest. 

 

Jihwan_Kim 

Calender_date,    CLNDR_YR_NBR,   FISCL_YR_NBR,  CLNDR_QTR_NBR,   FISCL_QTR_NBR, CLNDR_MNTH_NBR,  FISCL_MNTH_NBR,   CLNDR_DAY_OF_YR_NBR,   FISCL_DAY_OF_YR_NBR
12/30/2019 0:0020192020411213641
12/31/2019 0:0020192020411213652
1/1/2020 0:0020202020111113
1/2/2020 0:0020202020111124
1/3/2020 0:0020202020111135
1/4/2020 0:0020202020111146
1/5/2020 0:0020202020111157
1/6/2020 0:0020202020111168
1/7/2020 0:0020202020111179
1/8/2020 0:00202020201111810
1/9/2020 0:00202020201111911
1/10/2020 0:002020202011111012
1/11/2020 0:002020202011111113
1/12/2020 0:002020202011111214
1/13/2020 0:002020202011111315
1/14/2020 0:002020202011111416
1/15/2020 0:002020202011111517
1/16/2020 0:002020202011111618
1/17/2020 0:002020202011111719
1/18/2020 0:002020202011111820
1/19/2020 0:002020202011111921
1/20/2020 0:002020202011112022
1/21/2020 0:002020202011112123
1/22/2020 0:002020202011112224
1/23/2020 0:002020202011112325
1/24/2020 0:002020202011112426
1/25/2020 0:002020202011112527
1/26/2020 0:002020202011112628
1/27/2020 0:002020202011122729
1/28/2020 0:002020202011122830
1/29/2020 0:002020202011122931
1/30/2020 0:002020202011123032
1/31/2020 0:002020202011123133
2/1/2020 0:002020202011223234
2/2/2020 0:002020202011223335
2/3/2020 0:002020202011223436
2/4/2020 0:002020202011223537
2/5/2020 0:002020202011223638
2/6/2020 0:002020202011223739
2/7/2020 0:002020202011223840
2/8/2020 0:002020202011223941
2/9/2020 0:002020202011224042
2/10/2020 0:002020202011224143
2/11/2020 0:002020202011224244
2/12/2020 0:002020202011224345
2/13/2020 0:002020202011224446
2/14/2020 0:002020202011224547
2/15/2020 0:002020202011224648
2/16/2020 0:002020202011224749
2/17/2020 0:002020202011224850
2/18/2020 0:002020202011224951
2/19/2020 0:002020202011225052
2/20/2020 0:002020202011225153
2/21/2020 0:002020202011225254
2/22/2020 0:002020202011225355
2/23/2020 0:002020202011225456
2/24/2020 0:002020202011235557
2/25/2020 0:002020202011235658
2/26/2020 0:002020202011235759
2/27/2020 0:002020202011235860
2/28/2020 0:002020202011235961
2/29/2020 0:002020202011236062
3/1/2020 0:002020202011336163

2 Replies

    • v-deddai1-msft's avatar
      v-deddai1-msft
      Community Support

      Hi srk_powerbi ,

       

      Lack of many information. People here can't help you well. How many days contain in a fiscal month? How may days contain in a fiscal qtr? Is all the fiscal year starts at 12/30 or there is any logic with it?

       

      If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

       

      Best Regards,

      Dedmon Dai