OBIEE TOPN On Result of Union Two SubjectArea -


i used "union" combine 2 different subject area in analysis in obiee 11 :

"a" column in first subject area formula needs "a_dim" calculated using "a_dim" , case-when (so should use "a_dim" in first subject area exclude in result)

"a" equals zero in second subject area

"b" column in second subject area

"b" equals zero in first subject area

"c" column in result (using add result column) has formula :

sum("a" sth ) / sum("b" sth)

("a","b",... replaced saw_i in result column formula know)

the problem is, can not top 10 rows ordering "c" ??

(i tried using rank, topn , topn(rank()),... no luck)

(and 1 more thing, there 2 problem using "narrative view" instead of other views , first want bar chart, besides in narrative there no exclude option , should use javascript top 10 thousands of repeated "c" values)


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -