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

Plot Total in Pie Chart

Dear Sir/Madam

Kindly advise how to plot just total (57.5% & 42.5%) in Pie Chart?

Thank you, Tracy

 

1 Solution

Accepted Solutions
Lisa_P
Employee
Employee

You only need to load Yes and No, Qlik can calculate the rest, so your script should be:

CrossTable(Description, Data)
LOAD Question,
// Total,
Yes,
// [% Yes],
No
// ,
// [% No]
FROM
[C:\Users\StevenLow\Dropbox\My PC (DESKTOP-N7O0V6I)\Desktop\GeBiz-Jan 22,2021\Audit Travel Vouchers\Test-1\Test-2.xls]
(biff, embedded labels, table is Sheet1$);

The dimension is Description and the measure is Sum(Data), Relative.

Lisa_P_0-1611527169607.png

 

View solution in original post

1 Reply
Lisa_P
Employee
Employee

You only need to load Yes and No, Qlik can calculate the rest, so your script should be:

CrossTable(Description, Data)
LOAD Question,
// Total,
Yes,
// [% Yes],
No
// ,
// [% No]
FROM
[C:\Users\StevenLow\Dropbox\My PC (DESKTOP-N7O0V6I)\Desktop\GeBiz-Jan 22,2021\Audit Travel Vouchers\Test-1\Test-2.xls]
(biff, embedded labels, table is Sheet1$);

The dimension is Description and the measure is Sum(Data), Relative.

Lisa_P_0-1611527169607.png