Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Analytics Query inquries - entitlement(in role / out of role )

ejeong
Valued Contributor
Valued Contributor

Hello I need to make query like below, can anyone please help me to make the qeury?

Select UserName,AccountName, Count(all entitlement assigned from Roles), count(all entitlement not assigned by role),   count (all entitlement assigned from role) / count (all entitlement not assigned by role) X 100

from tables all required 

where entityname like 'A' and u.statuskey = 1 

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

There could be entitlement part of the role but rolekey not updated property in AssignedfromRole. in this case also, we want to consider this entitlement assigned by role by looking ent_Valuekey in roles assigned to user. 

1 REPLY 1

ejeong
Valued Contributor
Valued Contributor

I am thinking to make query like below and make count for this 

ejeong_0-1676539067569.png