Skip to content

Instantly share code, notes, and snippets.

@yyq123
Created December 27, 2011 03:15
Show Gist options
  • Save yyq123/1522622 to your computer and use it in GitHub Desktop.
Save yyq123/1522622 to your computer and use it in GitHub Desktop.
Hyperion Planning - Member UDA
select
O.Object_Name as Name,
OA.OBJECT_NAME as Alias,
U.UDA_VALUE as UDA
from hsp_member_to_uda M
inner join hsp_uda U
on M.UDA_ID=U.UDA_ID
inner join hsp_object O
on M.MEMBER_ID=O.OBJECT_ID
inner join hsp_alias A
on M.MEMBER_ID=A.MEMBER_ID
inner join hsp_object OA
on A.ALIAS_ID=OA.OBJECT_ID
inner join hsp_member D
on D.Member_Id=O.Object_Id
inner join hsp_object OD
on D.Dim_Id=OD.Object_Id
-- Specify Dimension
where OD.OBJECT_NAME='Entity'
order by O.Object_Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment