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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
leroy773
Helper II
Helper II

Date Table is showing the wrong qtrs.

All,

 

I created a date table using calendar function, for the entire year of 2016.  The table shows all individual dates.  I added additional columns to show qtr and month.  Jan-Mar dates all show as Q1, but after that the quarters use four months as opposed to three.  So Q2 now is from April-Jul, instead of just June.  The following formula is what I used in the column

 

QuarterFull = "Quarter " & ROUNDDOWN(MONTH([DateKey])/4,0)+1

 

Curious why Q1 is correct and other qtrs use four months.

 

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

hi @leroy773

 

just create a new column and add this

 

Quarter = CalendarTable[Date].[QuarterNo]

 

quarter.png




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

hi @leroy773

 

just create a new column and add this

 

Quarter = CalendarTable[Date].[QuarterNo]

 

quarter.png




Lima - Peru

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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