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

getactivesheetid() issue

Hi All,

I have an issue with GetActiveSheetId().

if (GetActiveSheetId()='Document\Dashboard',Red(),Blue()). It works most of the time but sometimes it goes blank and gives Yellow default colour on the bar chart. Does any came across this issue in the past?

Please help me out if there are any quick fix.

1 Reply
micheledenardi
Specialist II
Specialist II

Hi,

try to put getactivesheetid() on a textbox and see which is the returned value when the bar became yellow.

Another things you can try is to put your formula in uppercase like:

if (upper(GetActiveSheetId())='DOCUMENT\DASHBOARD',Red(),Blue())

hope it helps

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.