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

Advanced Chart Help

Hello,

I need to achieve this chart...

Piechart.pngjaganQlik Community MVP

Red= Red/(Red+Green+Yellow), Green= Green/(Red+Green+Yellow), Yellow=YellowR/(Red+Green+Yellow)

with the data below

Chart.png

When none/all of the regions are selected the chart should display the calculated sum of all columns and a region is selected, the sum of corresponding column values is to be shown.

Can someone please help me out. I am quite new to QlikView and BI.

Thanks in advance.

PS: I don't even know how to frame this question, sorry.

1 Solution

Accepted Solutions
prma7799
Master III
Master III

Don' use Dimension

Use Expression

Sum(Red)/Sum(Red +Yellow+Green)

Sum(Yellow)/Sum(Red +Yellow+Green)

Sum(Green)/Sum(Red +Yellow+Green)

View solution in original post

18 Replies
Anonymous
Not applicable
Author

Hi

Please post sample data in excel sheet.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Here is the solution.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Hey,

I have attached the excel sheet

Not applicable
Author

Hey,

Thanks for the response. Unfortunately, I am running the personal edition of QlikView and hence cannot open the file. Can you please advice what to do?

Thanks

Anonymous
Not applicable
Author

Hi,

Go to the Expression Tab. Under the Expression you created, there is + sign , expand this and you will see a Pie Popout option. Select this option and enter an expression such as len(your dimension) > 0 or sum(your expression) > 0.

Alternatively, just enter 1 in the popout option

Anil_Babu_Samineni

I am just helping from Kaushik example for ref

Is this you are expecting? And your example is in image, Can you post same data in excel, May be to achieve this

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Yes, This is what I am looking for. And the pie chart should change with relevant Region selection.

Not applicable
Author

I appreciate your help, I am just a beginner. I dont know what expressions to use , itried many but failed.

Not applicable
Author

also , how can I attach excel sheet here in the discussion? Please help me.