Apply conversion type while configuring a function field in a report

Valentina1
Tera Contributor

Hi,

 

I would need to convert a Duration field into Hours (float) and use it in a report. I would like to take advantage of the "Configure function field" functionality offered by the Reporting and avoid creating a new field in the source table 

 

Can the type conversion be made inside the Configure function field functionality of the Report or Do I have to create a separate function field in the source table and then use it in the report?

 

Thank you,

Valentina

1 ACCEPTED SOLUTION

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Valentina1 ,

 

I just looked into it on my instance.

 

Its not possible via standard reporting  'configure function field'. Reason - the duration field being String as highlited below. (The string can be of diffrent varients like 10 mints [OR] 1 day 1hours [OR] 1 day 1 hour 1mint etc..) so its not possible to create a function field for dynamic strings using substring operations... refer the below image.

 

SohailKhilji_0-1713253227403.png

 

I hope i answered your query


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Valentina1 ,

 

I just looked into it on my instance.

 

Its not possible via standard reporting  'configure function field'. Reason - the duration field being String as highlited below. (The string can be of diffrent varients like 10 mints [OR] 1 day 1hours [OR] 1 day 1 hour 1mint etc..) so its not possible to create a function field for dynamic strings using substring operations... refer the below image.

 

SohailKhilji_0-1713253227403.png

 

I hope i answered your query


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Valentina1
Tera Contributor

Thank you, Sohail.