Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
yanivvl0
Creator III
Creator III

How to convert BarChart to BlockChart ?

hi to all ,

i have usual BarChart with year dimension and 2 measurs, looks like that :

pic 1 2.PNG

i need to convert it to BlockChart , with 2 parts with the 2 colors blue and green ( i dont need to see the year )

, how can i do this ?  thanks ?

1 Solution

Accepted Solutions
Kushal_Chawda

14 Replies
Chanty4u
MVP
MVP

can u share sample app?

yanivvl0
Creator III
Creator III
Author

here it is , Similar to the first example :

לכידה.PNG

thanks.

Chanty4u
MVP
MVP

is this?

yanivvl0
Creator III
Creator III
Author

no Chanty , I NEED SOMETHING THAT LOOKS SIMPLE LIKE :

2part_amazing_regular.PNG

NOT COMPLICATE LIKE ( years of regular )  :

Mpart_regular_YEARS.PNG

- 1 BlockChart - 2 parts ONLY .

Kushal_Chawda

like this?

sunny_talwar

In addition, if you would like to make selection in one of those blocks, then ValueList() as dimension won't work, in that case you can create an Island Inline table in the script and use that as your dimension:

Table:

LOAD year,

    regular,

    amazing,

    amount

FROM

Community_211021.xls

(biff, embedded labels, table is Sheet1$);

Dim:

LOAD * Inline [

Dim

1

2

];

Dimension: Dim

Expression: (Same as what Kush has provided) just using Dim

=Pick(Dim,

Sum({$<regular={1}>}amount),

Sum({$<amazing={1}>}amount))

If not selection would be necessary you should be good using Kush's solution

Kushal_Chawda

sunindia

looks like you love the PICK function

Kushal_Chawda

Untitled.jpg

sunny_talwar

I have been using it more often then not for situations like these ever since I have learnt their use from you Kush