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: 
Chanty4u
MVP
MVP

Label name Dynamic

Hi all,

lech_miszkiewicz

i Qliksense Nprinting am using the  dynamic labeling for excel reports

i have a customer group with 40 customers so i created variable

vCustomerGroup=only(CustomerGroup)       

if i use this in Np   the report name also coming as 

adithyacustomer_only(customergroup)      like this coming for all customers.   how to overcome this?

1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok.. here are my findings

Environments:

  • Windows 10 (my laptop)
  • Qlik Sense November 2017 Server
  • NPrinting November 2017

I did Following:

  • Created variable in my app  (using field "Miesiac")
    • variable definition: =Only (Miesiac)
  • I have regenerated metadata in NPrinitng
  • created a XLS report
    • with Level Miesiac
    • put my variable into Level
    • also put my variable outside the level
    • run preview and observe results
  • Results are on first 4 screenshots
    • variable returns value only inside a level as only there it can be evaluated (=Only()) requires single value to evaluate!! - I am sure you know this
    • variable sitting outside of the level instead of value brings its definition
  • Last step i did was also include "Miesiac" as a cyclic dimension and run task to publish report with variable as part of the file name
    • task returned with expected values (each file had a dedicated value - also see screenshot 5)

In other words: WORKS FOR ME

cheers

Lech

1.png2.png3.png4.png5.png

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.

View solution in original post

13 Replies
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Chanty,

What will be output you require . What value in It.

Thanks,

Arvind Patil

Chanty4u
MVP
MVP
Author

i need filename with the customergroup name     in that field i have 40 values[means 40 customers are available so each report name with  each customer]

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

I understand that in Qlik Sense this variable returns the expected value and in NPrinting it simply does not evaluate.

please correct if i am wrong and also let me test it tomorrow.

regards

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.
Chanty4u
MVP
MVP
Author

yes lech exactly.

in qliksense its working but not in Np 

how to overcome this?

Chanty4u
MVP
MVP
Author

Hi Lech Miszkiewicz

any update on this?

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

nope ... testing... give me 0.5 hour

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.
Chanty4u
MVP
MVP
Author

Okay Lech,

thanks

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Ok.. here are my findings

Environments:

  • Windows 10 (my laptop)
  • Qlik Sense November 2017 Server
  • NPrinting November 2017

I did Following:

  • Created variable in my app  (using field "Miesiac")
    • variable definition: =Only (Miesiac)
  • I have regenerated metadata in NPrinitng
  • created a XLS report
    • with Level Miesiac
    • put my variable into Level
    • also put my variable outside the level
    • run preview and observe results
  • Results are on first 4 screenshots
    • variable returns value only inside a level as only there it can be evaluated (=Only()) requires single value to evaluate!! - I am sure you know this
    • variable sitting outside of the level instead of value brings its definition
  • Last step i did was also include "Miesiac" as a cyclic dimension and run task to publish report with variable as part of the file name
    • task returned with expected values (each file had a dedicated value - also see screenshot 5)

In other words: WORKS FOR ME

cheers

Lech

1.png2.png3.png4.png5.png

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.
Chanty4u
MVP
MVP
Author

thanks lech,

am not using levels 

am using  custom template  with all pivot tables   that template am scheduling to 40 customers.