Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Announcing the newest addition to the Qlik Community, Qlik Gallery! Learn More
Rick_T
New Contributor III

Display or highlight the current weeknumber in a barchart

Goodafternoon, 

Is there a way to display or highlight the current weeknumber in a barchart when it is containing all the 52 weeks in a year? 

Sincerely, 

Rick 

1 Solution

Accepted Solutions
Partner
Partner

Re: Display or highlight the current weeknumber in a barchart

Yes use color by Expression

IF(Week=WEEK(Today()), Green(), Blue())

Where Week = your calendar dimension containing the weeknr

example.pngexample2.png

3 Replies
Partner
Partner

Re: Display or highlight the current weeknumber in a barchart

Yes use color by Expression

IF(Week=WEEK(Today()), Green(), Blue())

Where Week = your calendar dimension containing the weeknr

example.pngexample2.png

Rick_T
New Contributor III

Re: Display or highlight the current weeknumber in a barchart

Works great! 

Thank you very much 🙂 

rbartley
Valued Contributor

Re: Display or highlight the current weeknumber in a barchart

Alternatively, you could use a combo chart and have the second measure displayed as a marker

only for the current week number, e.g. 

If( Week = WEEK(Today),Sum(Measure))

Capture.JPG