Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Siddhesh
Contributor III
Contributor III

Can we use qlik syntax in custom element in dynamic naming for reports >

Hi,

I am using Qlik Nprinting May 2021 SR4 version. In reports, we have the option for dynamic naming. In my app, I have the variable name 'vReportMonth' which stores the month as an integer that I want to convert into a full month name if the variable has 1 in it I want January to display in the report name.

Can any one help me this.

Labels (2)
5 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

No - variables are the only way at the moment. You need to create another variable say 'vReportMonthName' in QlikView or Qlik Sense with the full month name and reference that when building dynamic name.

 

cheers

Lech

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Ruggero_Piccoli
Support
Support

Hi,

You can use variables in dynamic naming:

Ruggero_Piccoli_0-1675929302566.png

Create it with normal Qlik functions and force the output to be text with text(). 

Best Regards,

Ruggero

 



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Siddhesh
Contributor III
Contributor III
Author

Hi Ruggero,

In my case, the variable is having month number. I want full month name. 

 

Ruggero_Piccoli
Support
Support

Hi,

So you need help in writing a formula to get the text name of the month. The solution depends on the fields you have in the Qlik Sense app or QlikView document and we do not know your data structure.

I suggest you to start by checking the related help site where data and time functions are explained in details with examples (https://help.qlik.com/en-US/sense/November2022/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTim...).

You could also search in the community related to QlikView or Qlik Sense because I think it is a common topic there. 

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

note that Month() function is a dual so: 

https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/DateAnd...

 

num(Month(some date)) will give you number

text(Month(some date)) will give you month name in format specified in your Qlik sense load script of the app .

 

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.