Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

financial year representaion

Dear All

currently , we are showing fianancial year as  2011-2012  format.

which we are getting from yearname function.

We want to show that FY11-12. .

Is there any other way or have to work through substring function.

Regards

Pramod Kumar

1 Solution

Accepted Solutions
adhudson
Creator II
Creator II

Hi,

     I am not sure if any direct functions available as a solution for this.

     But you can always use subfield to achieve this like the below.

     lets say your financial year field is FinYear.

     'FY'&right(subfield(FinYear,'-',1),2)&'-'&right(subfield(FinYear,'-',2),2)

     Probably, the above script could be solution for this issue.

Regards

Andrew Hudson

View solution in original post

1 Reply
adhudson
Creator II
Creator II

Hi,

     I am not sure if any direct functions available as a solution for this.

     But you can always use subfield to achieve this like the below.

     lets say your financial year field is FinYear.

     'FY'&right(subfield(FinYear,'-',1),2)&'-'&right(subfield(FinYear,'-',2),2)

     Probably, the above script could be solution for this issue.

Regards

Andrew Hudson