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.
ksomosera10
Contributor II

Expression to round up the Pie Chart Share

Hi,

I just want to ask how can I customize my Pie chart share so that I can make the share round up and doesn't contain decimal values. here is my Pie chart for reference.

Capture.JPG

For now my current settings is Share because it is the one that shows values in percentage. For example.the 32.1% will be 32% but will rise up to 33% when it gets to 32.5%. I hope you can help me with this. Thanks!

Tags (1)
1 Solution

Accepted Solutions
rahulpawarb
Valued Contributor III

Re: Expression to round up the Pie Chart Share

Hello Kevin,

Trust that you are doing great!

To fix this, open chart properties and go to the Number tab. Select the expression you want to format; Select Integer & tick Show in Percent (%) check box and click OK.

Hope this will be of help.

P.S.: I have used expression as Count([Project id])/ Count(TOTAL [Project id])

Regards!

Rahul

8 Replies
rbilecki
New Contributor II

Re: Expression to round up the Pie Chart Share

Hello, did you try use the function Round()?

prat1507
Valued Contributor

Re: Expression to round up the Pie Chart Share

Use your expression as:

=NUM(Expression,'#,###.%')

Regards

Pratyush

vinieme12
Esteemed Contributor II

Re: Expression to round up the Pie Chart Share

use Round(YourExpression)

rahulpawarb
Valued Contributor III

Re: Expression to round up the Pie Chart Share

Hello Kevin,

Trust that you are doing great!

To fix this, open chart properties and go to the Number tab. Select the expression you want to format; Select Integer & tick Show in Percent (%) check box and click OK.

Hope this will be of help.

P.S.: I have used expression as Count([Project id])/ Count(TOTAL [Project id])

Regards!

Rahul

ishanbhatt
Contributor II

Re: Expression to round up the Pie Chart Share

Hi Kevin,

Please Check that your Number format in Number Tab.

If Fixed To number formatting is selected then remove the decimal number from it.

Use below Expression

          =Count(Field)/100   or  Count(Field) / Count (Distinct Field)

In Number Property

   Select  Fixed To Number Format Setting Radio Button. Don't add any value in  Decimals.

    Check the Show in Percent (%) checkbox.

Employee Share Pie Chart.PNG

Please find the attached app for the example.

Hope this'll helpful to you.

ishanbhatt
Contributor II

Re: Expression to round up the Pie Chart Share

Hi Kevin,

Please Check that your Number format in Number Tab.

If Fixed To number formatting is selected then remove the decimal number from it.

Use below Expression

          =Count(Field)/100   or  Count(Field) / Count (Total Field)

In Number Property

   Select  Fixed To Number Format Setting Radio Button. Don't add any value in  Decimals.

    Check the Show in Percent (%) checkbox.

ksomosera10
Contributor II

Re: Expression to round up the Pie Chart Share

Thanks! It solved my problem!

ajinkyabhonsle
New Contributor II

Re: Expression to round up the Pie Chart Share

How do we do this QlikSense. I have the same question of rounding up the %. However In my measures I have 

sum({<LANDING_PAGE_SECTION = {"*developers*"}>}SESSIONS)