Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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