Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

DAX - ENDOFQUARTER results

$
0
0

I'm wanting to use the ENDOFQUARTER DAX function but am finding I'm getting an odd result.

 

in my view I should get the following list:

March Qtr = 31 Mar YY

June Qtr = 30 Jun YY

Sept Qtr = 30 Sep YY

Dec Qtr = 31 Dec YY

 

However the formula below seems to be returning the 1st day of the next quarter; ie 1 April, 1 July, 1 Sept, 1 December.

 

=ENDOFQUARTER(DateTime[DateKey])  

 

Just wondering if I'm doing something wrong? 

 

Also something semi related, do you need to have a separate date table to make time intelligence functions work?

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles