Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
When exporting data that includes a time column formatted as 'hh:mm' into an Excel sheet, I encounter an issue where the format is not preserved correctly.
Requirement-
Here's the situation and what I've tried so far:
Expression: Total Hours = interval(sum(Hours),'hh:mm')
1. Export with Table Formatting Enabled:
When exporting data with "Table Formatting" enabled, the time column "Total Hours" displays in a 24-hour format instead of the intended 'hh:mm' format.
For instance, a total of "45:21" hours appears as "21:21" after subtracting 24:00 hours
[ (45:21) - (24:00) = (21:21)]
2. Export without Table Formatting:
Exporting without enabling "Table Formatting" preserves the time format as 'hh:mm'. However, this method causes other issues, such as the loss of color formatting in another column called "Flag."
I attempted using the "Text" function instead of just the "Interval" function to achieve the desired export format. Here’s what I did and the issue that arose:
Attempted Solution
Total Hours = Text(interval(sum(Hours),'hh:mm'))
Issue Encountered
Requirement
Hence, I need a solution to export the data so that the "Total Hours" column maintains the 'hh:mm' format, while also retaining color formatting in the "Flag" column if "Table Formatting" in either ways enabled or not enabled and also enable business see the custom "Sum" of the records.
I have same problem!
QS May 2024 Patch 3
but I think it was in all versions.