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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jerryr125
Creator III
Creator III

Histogram on Variable

Hi - I created the a variable (vDayrangecat) with the following calculation :

 

IF($(vNumberofdays) >= 0 and $(vNumberofdays) <= 3, '0-3',
IF($(vNumberofdays) > 3 and $(vNumberofdays) <= 5, '3+-5',
IF($(vNumberofdays) > 5 and $(vNumberofdays) <= 10, '5+-10',
IF($(vNumberofdays) >= 10, '10+','<0'))))

Therefore, if vNumberofdays for a specific data row = 6, then vDayrangecat = '5+ - 10'

 

I would like to do a histrogram on the vDayrange but it is not working.  Thoughts ? Jerry

0 Replies