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

Calendar dashboard

Hi There,

I’m looking at creating a calendar view dashboard which is able to flag (change colour) when a value on a particular day breaches a consent level. In other words, if a value on a particular date breaches, the cell on that date is highlighted. I have looked that using a calendar object however this does not satisfy my requirements. What I would like is to have a dashboard with a monthly calendar view as seen below. Any ideas please?

Mon

Tue

Wed

Thurs

Fri

Sat

Sun

1

2

3

4

5

6

7

8

9

10

11

12

13

14

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Thanks,

12 Replies
effinty2112
Master
Master

Hi Mike,

                    You can create a pivot table like this. In my app I have calendar with fields InvWeek and InvWeekDay. The Background colour is set to: if(sum(Qty*[Unit Price]) > 100000,RGB(250,250,210)). No invoicing on Sat or Sun in my data.

InvWeek InvWeekDay MonTueWedThuFri
26 01/07/2016
27 04/07/201605/07/201606/07/201607/07/201608/07/2016
28 11/07/201612/07/201613/07/201614/07/201615/07/2016
29 18/07/201619/07/201620/07/201621/07/201622/07/2016
30 25/07/201626/07/201627/07/201628/07/201629/07/2016

A little more work can give you a straight table like this:

Mon Tue Wed Thu Fri
01/07/2016
04/07/201605/07/201606/07/201607/07/201608/07/2016
11/07/201612/07/201613/07/201614/07/201615/07/2016
18/07/201619/07/201620/07/201621/07/201622/07/2016
25/07/201626/07/201627/07/201628/07/201629/07/2016

The first column shown has expression : Max({$<InvWeekDay = {'Mon'}>}[Invoice Date]) and Background Colour set to:

if(sum({$<InvWeekDay = {'Mon'}>}Qty*[Unit Price]) > 100000,RGB(250,250,210))

The first column is the dimension InvWeek which I have hidden using the option in the Presentation tab of the chart properties.

Hope this helps

Cheers

Andrew

Not applicable
Author

Brilliant,

It's worked. I now need to work on the background colour as this is a rate of change expression.

Thanks again.

effinty2112
Master
Master

Hi Mike,

                    Glad to be of help!

All the best

Andrew