Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

HANA Analytic Privileges and Procedures in logical OR condition

$
0
0

Hi to all,

I've a simple requirement for my HANA "pure" (HANA Platform) DWH:

 

Using a simple "Or" condition between dimension of a Analytic or Calculation view.

 

A simple Example: in my calculation view I've company (Company_cod) and Sales organization (org_cod) that are in a 1:n relationship (one company - more organization).

I want to build a simple analytic privilege with this rule:

 

All data for company 2000 (all sales organization for company 2000) or only Sales Organization 3010 and 3020 (for company 3000).

 

Schermata 2016-01-14 alle 15.15.39.png

 

 

 

I want to build this but is not easy with analytic privilege. Let me explain:

 

1) if a build an analytic privilege with company_cod filter to 2000 and org cod filter to 3010 and 3020 results is empty list because this is an AND logical relationship between filters;

 

Schermata 2016-01-14 alle 15.20.25.png

-------------------------------------------------------------------------------------------------------------------------------------------

Schermata 2016-01-14 alle 15.20.34.png

 

2) If I use two different analytic privilege (one for COMPANY_COD and one for ORG_COD) I can see only data for company 2000 and nothting for ORG_COD 3010 and 3020

Schermata 2016-01-14 alle 15.54.49.png

Schermata 2016-01-14 alle 15.54.55.png

 

 

 

Someone can help me to understand how it work and how to achieve this requirement?


Thanks thousand


Viewing all articles
Browse latest Browse all 3668

Trending Articles



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