Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Need Help Filtering using Date Field (want data for only last 60 days)

$
0
0

My issue is simple, but unable to figure out a solution.

 

I have an attribute view with data, it also has a Date field.

My objective: is to only retrieve data for the last 60 days (ex. Date field > now() - 60))

 

In calculation view, I have Projection Node on top of this Attribute View. I want to force a filter (in Expression) in the Node to retrieve only data 60 days back. Problem is that the Expression in Projection Node doesn't recognize now() - I get an error. Below is a snapshot of what I attempted.

 

This is a huge performance issue. Right now it's getting all the data from the Attribute View, then I'm able to get last 60 days. But the goal is to only retrieve last 60 days (filter).

 

Is there any solution to this? Hopefully a non-sql solution.

 

 

 

Below is a snapshot of what I attempted.example.jpg


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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