Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
We are trying to put the condition on 'Run Result Value' from the subject area 'Payroll -Payroll Run
We are trying to put the condition on 'Run Result Value' from the subject area 'Payroll -Payroll Run Results Real Time' in OTBI report.
Condition is that Run Result Value > 1000 , for achieving this condition we are trying to convert Run Result Value to number as it's storing as string in subject area. Tried to_number ,double function but it's not working.
WE have tried (CAST("Payroll Run Results"."Run Result Value" as DOUBLE)) ,it's not working
Answers
-
Hello Anjali,
Instead of casting the "Run Result Value" to a number, create a new filter on the "Run Result Value" as shown here and check the "Convert this filter to SQL" and press OK:
The new window will show this:
"Payroll Run Results"."Run Result Value" > '1000'
Just remove the single quotes around 1000 and press OK.
The filter should look like this:
Now the results will return only values greater than 1000.
Thank you
Hassan0 -
Please click on Answered if the solution works for you.
Thank you
0 -
I tried the logic on filter which you have suggested but it's not working , result is returning all values.
Please suggest.
Thanks,
Anjali Kumari
0 -
Hello Anjali -
Please confirm if the data is only numeric or it is a alphanumeric value. CAST ('Column' as DOUBLE) should work for the numeric data.
EX : CAST("Payroll Run Results"."Run Result Value" as DOUBLE) or try INTEGER
Define a aggregation and check results.
0 -
Hi User_PFO2E
Run Result Value holds alphanumeric value. There is another column 'Amount' , amount is having value if Run Result Value is returning number else Amount is blank. So to fetch the number only from the Run Result Value, we have added one more condition 'Amount is not null' , over this condition we have added condition for Run Result Value CAST("Payroll Run Results"."Run Result Value" as DOUBLE) or INTEGER , but when we are adding this condition result is getting failed.
Thanks,
Anjali Kumari
0 -
This report has been requested for audit purpose , please suggest the better solution. It will be really helpful if working session can be arranged
0