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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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