Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
berryandcherry6
Contributor II

Piechart legend with both value and Arguments

Hi,

i have a pie chart as shown below with os names for this i need to show legend with both values and Arguments. How colud i show that in Qliksense.

OS.PNG

Any help is appreciated.

Tags (1)
8 Replies
galax_allu
Valued Contributor

Re: Piechart legend with both value and Arguments

Hi

do you want to show like

Windows - 40.4%

Andruid  - 20.5 %??

galax_allu
Valued Contributor

Re: Piechart legend with both value and Arguments


Hi


I am assuming OSNAMES and sales are your field names ....


Dual(OSNAMES & '-' & Num(sum(Sales), '#,##0') & Repeat(chr(13)&chr(10), rank(Sum(Sales))-6),  sum(Sales) )


or



Dual(OSNAMES & '-' & Num(sum(Sales), '#,##0') ,  sum(Sales) )


Khan_Mohammed
Honored Contributor II

Re: Piechart legend with both value and Arguments

Only your dimensions will show on Legend.

You might not be able to see as the legend hides if the size of the chart is small. Expand the size of the chart and you'll see the legend.

berryandcherry6
Contributor II

Re: Piechart legend with both value and Arguments

Hi allu,

yes, in legend i need to show like below

Windows - 40.4%

Andruid  - 20.5 %

Where should i had your given expreesion?

galax_allu
Valued Contributor

Re: Piechart legend with both value and Arguments

do you want the output like attached  screen shot ?

Khan_Mohammed
Honored Contributor II

Re: Piechart legend with both value and Arguments

I guess she's working on Qlik Sense, not on QlikView.

I don't think it is possible to show both Dim & Measure at the same time. By default we do not have option to show Values on Data point with Dim along side it.

Given the grid space in Qlik Sense is not large as Qlikview so Charts has to be adjusted within that...
But I think when a user hover their mouse over any slice, it will give them detail then why have it twice?

berryandcherry6
Contributor II

Re: Piechart legend with both value and Arguments

No, not like as shown.

i am talking about legend as shown below, marked by me on left of image. For that legend i need show percentage on left of each OS name in Legend.

Newpie.PNG

silambarasan130
Contributor III

Re: Piechart legend with both value and Arguments

Hi Supriya,

That is not possible in qlik sense. You can show the legend but not with the Values.

If u want to show the do it in backend of the script. Concate with that dimension and call it as dimension in the pie chart.

Thanks,