Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Could not get last 3 month's data

$
0
0

Hi,

 

"

d.MONTH IN (EXTRACT_MONTH(CURRENT_DATE) - 2,EXTRACT_MONTH(CURRENT_DATE) - 1,EXTRACT_MONTH(CURRENT_DATE) + 0)

"

The above code now gives only current month's data.

We have 3 Months calculation view, where it shows 3 month's data(including the current month).  It was showing expected data since December month.  Since, it's the New year, it's not picking up last years' last 2 Months data and shows only current Month's data.

 

How could I correct my code here?  Kindly suggest.

 

Regards,

Antony Jerald.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>