Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
moda1023
Contributor III
Contributor III

Meaningfull sales information in bar graph

Hello everyone :-),

i'm relatively new to QlikView. I'm currently creating some dashboards and i'm not able to solve this by my own.

So a part of the data i'm importing from a sheet looks like this:

ProductIDSale Region 1Sale Region 2ID Sales Region 1ID Sales Region 2

ABC555

XXXXXBBBBB8888833333
ABC333BBBBBXXXXX1111188888
ABC555BBBBBCCCCC3333311111
ABC333CCCCCBBBBB8888811111
ABC555XXXXXCCCCC1111133333

So first i want to creat a bar graph with the ID as the dimension and have shown the overall amount of sales of that ID (Count(ID Sales Region 1) + Count(ID Sales Region 2).

Under this graph i wanted to create 2 other bar graphs. One with the Sale Region 1 as the dimension and show the sales of the ID mentioned above. The second graph the same with Sale Region 2.

So my problem is i dont know how to implement it in the way that you would see in the first graph the overall sales of a ID. Then when clicking the ID it would change the other 2 graphs below. Because as Dimension in the first graph i just can choose the ID Sales Region 1 or ID Sales Region 2. I could implement another sheet with all my ID's but i can't find a corresponding key to match the data 😕

I hope you understand my problem and can help me out with it.

Kind regards

Daniel

1 Solution

Accepted Solutions
MarcoWedel

Hallo Daniel,

one solution might be to transform your input table e.g. like this:

tabSales:

LOAD ProductID,

    'Region 1' as Region,

    [Sale Region 1] as Sale,

    [ID Sales Region 1] as ID  

FROM [https://community.qlik.com/thread/313404] (html, codepage is 1252, embedded labels, table is @1);

LOAD ProductID,

    'Region 2' as Region,

    [Sale Region 2] as Sale,

    [ID Sales Region 2] as ID  

FROM [https://community.qlik.com/thread/313404] (html, codepage is 1252, embedded labels, table is @1);

based on this data model your charts are pretty straight forward:

QlikCommunity_Thread_313404_Pic1.JPG

QlikCommunity_Thread_313404_Pic2.JPG

QlikCommunity_Thread_313404_Pic3.JPG

QlikCommunity_Thread_313404_Pic4.JPG

QlikCommunity_Thread_313404_Pic5.JPG

hope this helps

Gruß

Marco

View solution in original post

4 Replies
vishsaggi
Champion III
Champion III

May be you want to use Cyclic Group dimensions. Once you add the dimensions just add that Group to the dimensions and your expression and see.

Capture.PNG

MarcoWedel

Hallo Daniel,

one solution might be to transform your input table e.g. like this:

tabSales:

LOAD ProductID,

    'Region 1' as Region,

    [Sale Region 1] as Sale,

    [ID Sales Region 1] as ID  

FROM [https://community.qlik.com/thread/313404] (html, codepage is 1252, embedded labels, table is @1);

LOAD ProductID,

    'Region 2' as Region,

    [Sale Region 2] as Sale,

    [ID Sales Region 2] as ID  

FROM [https://community.qlik.com/thread/313404] (html, codepage is 1252, embedded labels, table is @1);

based on this data model your charts are pretty straight forward:

QlikCommunity_Thread_313404_Pic1.JPG

QlikCommunity_Thread_313404_Pic2.JPG

QlikCommunity_Thread_313404_Pic3.JPG

QlikCommunity_Thread_313404_Pic4.JPG

QlikCommunity_Thread_313404_Pic5.JPG

hope this helps

Gruß

Marco

moda1023
Contributor III
Contributor III
Author

Thank you Vishwarath for your help, i tried it before but wasn't the solution for me.

moda1023
Contributor III
Contributor III
Author

Thank you very much Marco! Was exactly what i needed

Gruß

Daniel