Hi All,
On OAS environment I have users table like below
I have created this table under BIsample schema, also I have built SA on bisample schema.
I created one Init block for Authorization - as I want to apply data filter on a report with columns "CountryName", "revenue from fact". when the users of a specific Role access this report they need to get only CountryName they are authorized to as per above table.
IB test is working
when I login with user
Manage sessions I see query generated as below, I'm unable to figure out why its throwing an error/no results.
select sum(T262893.REVENUE) as c1,
T262846.COUNTRY_NAME as c2,
T262846.REGION as c3
from
SAMP_ADDRESSES_D T262846 /* D4 Address / ,
SAMP_CUSTOMERS_D T262866 / D3 Customer / ,
SAMP_REVENUE_F T262893 / F1 Revenue */
where ( T262846.ADDRESS_KEY = T262866.ADDRESS_KEY
and T262846.COUNTRY_NAME = 'eeee'
and T262866.CUST_KEY = T262893.CUST_KEY )
group by T262846.COUNTRY_NAME, T262846.REGION)
I need to apply data filter as below, please suggest what change I need to do.
PLease suggest what I'm missing on above steps
I'm getting the results for when I follow the link to apply on CountryName + Fact OR LOB+FACT but not LOB+COUNTRYNAME + FACT as I dont have key columns as shown in Implementing Data Level Security in Oracle Analytics Cloud Using Identity Cloud Service
Also please confirm if I need to join the user table with dim and fact of SA I'm applying security on.
Thank you in Advance