Hello:
While migrating our Brio report to OBI. There is CUME function within Brio that is not available in OBIEE, how can I use CUME in OBIEE?
I need to sum values until I find a breakcol,
Thanks
Can you define exactly what "CUME" is supposed to do?
Or the full need you have which was covered by "CUME" ?
3744064 wrote:I need to sum values until I find a breakcol,
Can you make an example please? How does CUME work?
The Cume function returns a cumulative running total for each value in a column of numbers.
Cume (numbers, break_col)
where:
numbers references the column that contains the numbers on which the cume is calculated.
break_col is a parameter that references a break column.
Example:
CUME (Amount, State)
The results are shown in the Computed column
STATE CITY AMOUNT COMPUTED
AZ
Tucson
112
CA
Burbank
240
Glendale
97
337
FL
Palmetto
70
MD
Laurel
MI
Detroit
208
MN
Eagan
159
NY
New York
490
Rochester
180
670
https://docs.oracle.com/cd/E57185_01/HIRUG/ch12s06s09.html
In OBIEE you can use sum by in the formula; -
sum(yourFact.YourMeasure by State)
https://stackoverflow.com/questions/27066406/summing-by-column
Better reference; -
https://gerardnico.com/dat/obiee/obis/logical_sql/group_by
Thanks but OBIEE 12c doesn´t aloud that sintaxys:
nQSError:27002 Cerca de <by>: error de sintaxis nQSError:26012
and that´s my problem..
Okay, see my other responses on your other thread, again in the rpd duplicating your existing sum measure and pinning it to state would be a good alternative.
Hi,
Please refer the following thread,
cumulative sum
Use the following function like,
RSUM(Measure BY DIm.Col)
eg.
RSUM(Amount BY STATE)
Regards,
Mayur
That syntax is not allowed in obiee 12c, you can´t use by
As this thread is just like the other one about ColMax the same reply apply:
The "by" syntax is perfectly valid and supported in OBIEE 12c.
So give more info on what's your current situation and I'm sure the community will manage to give you some good hints on how to get over this point.
Explore how to build agents using code in AI Data Platform. We'll create an agent that examines and analyzes the contents of a Github repository and reports its findings. The session demonstrates how to use different developer tools to create agents including the AIDP extension for VS Code and Codex. Using these tools we…
The user icon in the upper-right corner of OAC (DV) is displaying more menu options for our non-admin users than we wish to display. We would like to restrict these to only "Profile" and "Sign Out" for regular users. Is there a way to customize these menu items? Especially if we can control this via security, that would be…
What is wrong with this code
Am I missing something or is there no way to search through previous posts to make sure I don't duplicate a question? All I see on the filter options are tags or status… a general search for a word or phrase would be helpful.
We were under the impression that when exporting a visualization in DV to CSV format hidden columns would be include from the grammar panel. This is not happening. See below for a screenshot showing 3 hidden columns that do not appear when exporting the pivot table to CSV. This seems to have worked a month or so back but…
Migrated RPD from obiee12c to OAS 2024. post migration when we try to access dashboards on OAS we are getting below error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. (HY000) State: HY000. Code: 43275. [nQSError: 43275] Message returned from OBIS…