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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sheet Name function?

I'm new to Qlikview, so apologies if there's a simple answer that I've missed from the manual.

Would like to output/concatenate, on each tab, the name of the document + the sheet name (not Sheet ID).

=DocumentTitle() & ???

How can I interpret the Sheet Title ?

4 Replies
Not applicable
Author

Hi John,

The only way I can think of doing this is to run a macro post or pre reload, that cycles through each sheet and uses GetProperties.Name, and creates a variable per sheet with .Name in it. On your sheet you can then just refer to the variable for the current sheet.

I could write this code for you however I'm not in a position to do it right now

-Adam

Not applicable
Author

How about a macro that is fired for each sheet's OnActivate event that sets a variable containing the concatenated document /sheet names? This variables contents is then displayed in a text box.

The OnActivate event is not fired on inital document load with the IE plugin, so you need to have the variable set to the name of the sheet that is initially displayed.

Regards,

Gordon

Not applicable
Author

This looks to be the best and simple way.

-Arun

Not applicable
Author

I just a solution: change the sheet id with the same title sheet; at this point in a text objet i use the GetActiveSheetID function

Ciro