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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
durgabhavani
Creator III
Creator III

Can anyone help me in activating sheets?

Hi All,

I have three sheets(tabs) in my qlikview application. (say accounts, sales, billing)

Now i want to display

-> Sheet accounts for particular time period 9 AM to 10 AM (60 mins).

-> Sheet sales for particular time period 10 AM to 10.30 AM (30 mins).

-> Sheet billing for next time period 10.30 AM to 12 PM (90 mins).

Note: when one sheet is displaying no other sheet not to be displayed.

Please advice!

Thanks,

Durga

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

You can create a variable which holds the current system time and use this variable to hide/show the sheets.

Define the variable as vNow =num(SubField(now(),' ',2))

Now go to sheet properties of Accounts sheet and under General tabl select Conditional and give a condition like this

$(vNow)>= num(time('9:00:00', 'h:mm:ss')) and $(vNow) <=num(time('10:00:00', 'h:mm:ss'))

Similarly you can add for Sales and billing sheet.

Regards,

Greeshma

View solution in original post

4 Replies
Anonymous
Not applicable

Hi

You can create a variable which holds the current system time and use this variable to hide/show the sheets.

Define the variable as vNow =num(SubField(now(),' ',2))

Now go to sheet properties of Accounts sheet and under General tabl select Conditional and give a condition like this

$(vNow)>= num(time('9:00:00', 'h:mm:ss')) and $(vNow) <=num(time('10:00:00', 'h:mm:ss'))

Similarly you can add for Sales and billing sheet.

Regards,

Greeshma

Anonymous
Not applicable

hi

try in sheet properties conditional show like

for account sheet

=if((text(Time(class(Frac(Now()),1/24/60),'hh:mm'))>'09:00') and (text(Time(class(Frac(Now()),1/24/60),'hh:mm'))<='10:00') ,1,0)

sales

=if((text(Time(class(Frac(Now()),1/24/60),'hh:mm'))>'10:00') and (text(Time(class(Frac(Now()),1/24/60),'hh:mm'))<='10:30') ,1,0)


Billing

=if((text(Time(class(Frac(Now()),1/24/60),'hh:mm'))>'10:30') and (text(Time(class(Frac(Now()),1/24/60),'hh:mm'))<='12:00') ,1,0)


Thanks

BKC

petter
Partner - Champion III
Partner - Champion III

Yet another solution which is very similar to the others

2015-04-17 #1.PNG

durgabhavani
Creator III
Creator III
Author

Thanks for Every response!

I implemented everything and everthing is working exactly what i required.

@Greeshma: your condition is very simple and easy to understand and works fine.

@BKC: I think you are coding expert! it works fine. Can you please explain what 1/24/60 means in your expression and i am looking into Frac function first time. Happy to learn new things.

@Peter: works fine!

Once again thanks everyone!

Durga