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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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