Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2253

View Filters - pre/post Aggregation Filters

$
0
0

Hi Experts,

 

at the moment i am facing the problem that i want to use a filter expression which is passed from the front end via odata to the backend.

 

The backend view consists of multiple dimensions (e.g. RegionID, StoreID, Date) and measures (Turnover, Sales). The front end filter should be "turnover > 50" or something else. If i am using my view with the odata service it throws an error - feature not supported. The problem is caused by my "measures" in the backend view, which is logical, because the value of turnover depends on the chosen dimensions.

 

If i am changing the view to a dimensional view, the problem is fixed, but i can't dynamically aggregate the values with different dimensions in the front end.

 

So my solution have to be in the backend. I am wondering if there is something like pre/post aggregation filters in sap hana (views).

 

What i want is the following:

 

Filter is passed with the OData URL to SAP Hana

SAP Hana view creates the resultset with all data

SAP Hana view filters the resultset based on the OData URL Filterexpression

SAP Hana view returns the resultset

 

Someone can help with that problem? Is there a opt-in for filtering pre/post aggregation or another solution for that problem?

 

Another solution would be a front end based filtering, but i want to filter it on the backend side to get a better runtime and less complexity on the frontend side.


Viewing all articles
Browse latest Browse all 2253

Trending Articles