Hi,
Anyone can help on how to convert date to text with this format 'YYYY-MM-DD"?
You can try this formula:
cast(year("Snapshot Date") as CHAR(4)) || '-' || cast(month("Snapshot Date")as CHAR(2)) || '-' || cast(day("Snapshot Date")as CHAR(2))
Hi, @JoseP-Oracle .
Thank you for your response; however, it's giving me single digits for months and days from 1 to 9 even though we have set CHAR(2)
I may have a problem with sorting.
@JobDeLuna - Before fixing the expression to your need, just want to confirm why the need to covert the date to text. If for display format at the report, you can configure a desired display format in the visualization -> Properties -> Date / Time Format -> Format for the column. i.e. you can set the format in there as YYYY-MM-DD
I just tweaked that formula a bit and it works this way. Is this how you want to display your dates in text format?
cast(year("PC0"."Time"."Date") as CHAR(4)) || '-' || cast(MONTHNAME("PC0"."Time"."Date") as CHAR(3)) || '-' || cast(DAY("PC0"."Time"."Date") as CHAR(2))
And this is how it looks for a whole month!
Hi, Just done 26.R3 in our test pod, It went in easily enough, added advanced collections etc. Can back after the update completed and we no longer have any subject areas in OAC. Seems the latest update is causing for us a 500 internal server error and we can only access our custom data sources. As we were using FTR which…
Hi Experts, We are trying to create a report using OTBI to extract the PO line amount - Do we have the column which extracts the PO line amount out of the box available under subject area: Procurement-Purchasing Real Time or do we need to calculate it using the formula - PO Line Amount = Ordered Quantity × Unit Price Any…
Under the Workforce - Absence Management subject area, the Total Duration of Absence (Days) field does not return data for Life Leave and Annual Leave Half Pay. As an alternative, I used the Absence Duration field, which successfully captures all leave types. However, it does not correctly retrieve leave records that span…
Hello Experts, I am having issue while working with HCM - Workforce Core in which I am using Person Number and Department Name. The value getting is not in line with the data in my fusion environment. Please guide what I am missing. 26C.
Team, I heard we can use the AI assistance for generating the Start model in the SME. So how to enable this feature as our instances are already in 26.R2 version. Using this blog for reference: Guided Star Schema Generation: Bringing AI-Assisted Design to Semantic Model Customization | analytics Regards, Guru