Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sheet ID literal help needed?

Hi,

I wanna conditionally display text when Sheet ID = SH01. QV is throwing error that Sheet ID is not a valid literal can you please help to achieve this functionality?

1 Solution

Accepted Solutions
rubenmarin

Hi, maybe this can help you to check the ID of the Sheet:

Subfield(GetActiveSheetId(), '\', 2)='SH01'

View solution in original post

5 Replies
rubenmarin

Hi, maybe this can help you to check the ID of the Sheet:

Subfield(GetActiveSheetId(), '\', 2)='SH01'

Kushal_Chawda

Which condition you are using?

Not applicable
Author

Hi,

Objects are specific to sheets.So if we are viewing 1 sheet(which has a particular sheet ID),objects for that sheet will be visible.So why do we require to define a condition to view a txt based on sheet ID.

Please explain your requirement if I am wrong

Regards,

Jemimah

prashantbaste
Partner - Creator II
Partner - Creator II

Please try below syntax -

=If(GetActiveSheetId()='Document\SH01','Text Message)

Let me know if it resolves your query.

--

Regards,

Prashant P Baste

Not applicable
Author

Jemimah! You are right. Now I changed my thoughts but My question was all about getactivatedsheet() function. earlier I do not know about this