Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Attribute formatted as text eventhough it's a number...

Organization Name (Required - If you are an Oracle Partner, please provide the organization you are logging the idea on behalf of):
ØSS-Samarnbejdet (DTU)
Description (Required):
In the subject area "Expenses - Expense Transactions Real Time" the Attribute called "Approval Level" seems to be imported in text-format, even though it is a number... So if you want to sort or rank by this attribute. you need to add some functions to it, which seems to give a higher risk of experiencing ODBC-errors...
Use Case and Business Need (Required):
I would like the attribute to be formatted as a number, to be able to sort by it, for example when I want to rank the attribute, to get the latest approver, when there are more than one approver in the report.
Image description
I'm trying to solve the problem by using a cast-function, but it seems unnecesarry to have to do any number-formatting, when it could just be imported as a number.
Comments
-
@Anders W. Langholm I believe all the attributes are imported as text by default, irrespective of the data it contains. We are also facing similar problems. Upvoted this idea for implicit conversion while importing.
0 -
In the meantime, CAST "Expenses - Expense Transactions Real Time"."Approval Level" as NUMERIC.
0 -
Yes, I ended up using
RANK(CAST("Expense Report History"."Approval Level" AS numeric) by "Expense Report Details"."Expense Report Number")
to be able to isolate the person, who's last approved the expense report... Which also is strange to me: Why is there no "Final Approver" in the subject area? but that's a different story... ?
Thanks for your answers @Gail Langendorf-Oracle and @A.JOSH ?
0 -
Explicit CASTing worked well. Thanks @Gail Langendorf-Oracle and @Anders W. Langholm
0