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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

Block Chart Numbers

Hi All,

I have block chart. And below image for your reference

BC.PNG

Here you can see in the image that i am missing numbers instead of 91 i am getting as (1-120),instead of 151 i am getting as(51-180).. Can you please tell me how can i get the missing numbers.

Expression i have written for calculated dimension is:

=SubField([Ageing Buckets(Due in)],'in',1) & Chr(10)&SubField([Ageing Buckets(Due in)],'in',-1)&chr(10)

Thanks,

R. Bharat Kishore

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Hi,

Try this..

=if(WildMatch([Ageing Buckets(Due in)],'*in*'),
SubField([Ageing Buckets(Due in)],'in',1) & Chr(10)&SubField([Ageing Buckets(Due in)],'in',-1),[Ageing Buckets(Due in)])

Capture.JPG

View solution in original post

22 Replies
settu_periasamy
Master III
Master III

Hi Bharat,

Can you post your [Ageing Buckets(Due in)]  Values?

bharatkishore
Creator III
Creator III
Author

Hi Samy,

Please find the below image for the ageing bucket due in values...

AB.PNG

settu_periasamy
Master III
Master III

Hi,

Try this..

=if(WildMatch([Ageing Buckets(Due in)],'*in*'),
SubField([Ageing Buckets(Due in)],'in',1) & Chr(10)&SubField([Ageing Buckets(Due in)],'in',-1),[Ageing Buckets(Due in)])

Capture.JPG

bharatkishore
Creator III
Creator III
Author

Thanks a lot Samy.. worked like a gem... I have one more query...I am not able to see full values..  Can i see the full values as well. Below image for your reference.

CD.PNG

settu_periasamy
Master III
Master III

May be you can try with one more New Line (i.e chr(10) )

Like

=if(WildMatch([Ageing Buckets(Due in)],'*in*'),
SubField([Ageing Buckets(Due in)],'in',1) & Chr(10)&

SubField([Ageing Buckets(Due in)],'in',-1)&chr(10),[Ageing Buckets(Due in)])


But, i'm not sure, because some of the values of the square box is very small.

You can try increase the chart also.

Chanty4u
MVP
MVP

use chr(10)  in ur expression

or

='Text: ' & Concat(urfield ,',')

bharatkishore
Creator III
Creator III
Author

I have tried by expanding the char and even given chr(10) but still i am not getting...Anything am i missing

settu_periasamy
Master III
Master III

Is it possible to provide the sample? Let me try it

bharatkishore
Creator III
Creator III
Author

Hi Samy,

Please find the attached app...