We have a use case to compare 2 measures ($ and %) using the AND condition i.e. both conditions must be met. Is that doable?
Hi,
Yes, it's possible.
From the tags you added to your question I assume you are working in a DV workbook.
There inside the condition for the formatting is "simple" (not a composed one like you need with RULE_1 AND RULE_2). The quick solution for that is to create a calculation.
Something simple with a CASE WHEN <RULE_1> AND <RULE_2> THEN 1 WHEN <RULE_3> AND <RULE_4> THEN 2 … END
CASE WHEN <RULE_1> AND <RULE_2> THEN 1 WHEN <RULE_3> AND <RULE_4> THEN 2 … END
Then in the conditional formatting definition you reference your calculation and use condition based on the value you manually set in the THEN (1 in the above quick example).
Using a calculation with a CASE WHEN returning various flags allows you to easily build complex conditions, using multiple rules instead of a single one.
I can only agree with you …
In "classic" the language (the XML) already accepted complex expressions 10 years ago, but the GUI never allowed to generate them.
I imagine there are good chances the same applies to DV workbooks, but you also can't tell your users to edit the JSON of the workbook to write expressions manually sadly.
Maybe worth checking if there is an idea already posted to make the GUI evolve to support composed conditions for formatting, and upvote it (or create one if not there already: if you do, post the link back here, to get some more upvotes).
Thanks Gianni - I've had to do that in the past, was hoping our users could do this through conditional formatting functionality and not having to create complex calc columns.
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…