Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Number still showing decimals

Hi everyone,

I have created a bat chart, where I put is some quantities.  In the chart properties, I have selected to display these quantities as 'Integer' in the 'Numbers' tab when the .

Nevertheless, the bar graph still shows decimals when all quantities equal zero (see attached print screens).  I have tried to get rid of the decimals by using the Round() function, but it did not help.

Any suggestions ?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

Thanks to all of you for your suggestions.

I have solved the problem by rounding the quantities in my load script.  Now, the bar chart shows a flat line on the X-axis when all quantities are close to zero, which is what I needed.

View solution in original post

7 Replies
ThornOfCrowns
Specialist II
Specialist II

Could you show an example of your QVW?

Anonymous
Not applicable
Author

Hi James,

Attached, my QVW file.

vardhancse
Specialist III
Specialist III

Hi,

In expression give the number format required some thing similar to below.

Sum(Amount)

Change to:

Num(Sum(Amount),'##')

In chart properties number tab->Expression default

arasantorule
Creator III
Creator III

Hi,

Can you check if the below resolves.

Capture.PNG

Thanks

ThornOfCrowns
Specialist II
Specialist II

Hi, thanks for the file.

I don't understand what you're trying to achieve, though.

Your bars all have values to the 4th decimal place and showing them as integers just cuts off the shown value to -0, the bars will remain the same size etc. The table shows the values to 6 decimal places when you remove the 'show as integer' value.

If you set the table values back to default, you get:

QV_Integer.PNG

You do not have zero values and so the calculations are not zero.

jonas_rezende
Specialist
Specialist

Hi, Duchateau Filip.

Use the keyboard about bar chart Ctrl+Shift+button left of mouse and drag on the comma. See figure below.

DragComma.png

Hope this helps!

Anonymous
Not applicable
Author

Hi,

Thanks to all of you for your suggestions.

I have solved the problem by rounding the quantities in my load script.  Now, the bar chart shows a flat line on the X-axis when all quantities are close to zero, which is what I needed.