Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Chart label Issue

Hi All,

I have monthly data with Sales and Budget.

I am showing Total of Sales and Budget as label in a bar chart.

But whenever Budget value is negative, it is showing the total value twice. But I want to show only once.

Please advise.

Thanks in advance.


Capture.PNG

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Or see, if this variant of solution (PFA) works for you.

View solution in original post

7 Replies
antoniotiman
Master III
Master III

Like this

andrei_delta
Partner - Creator III
Partner - Creator III

Hello,

Try to deselect the Values on Data Points in Expressions Tab for the expression with negative values.

Hope it helps,

Andrei

qlikviewwizard
Master II
Master II
Author

Yes. Please let me know how to achieve this?

antoniotiman
Master III
Master III

See Attachment.

Regards,

Antonio

qlikviewwizard
Master II
Master II
Author

=Dual(Round(sum(Sales+Budget)),Max(TOTAL Aggr(sum(Sales),MonthYear))/5)

Could you please explain Max(TOTAL Aggr(sum(Sales),MonthYear))/5 and why we need to 5?


I confused to apply my original data.

antoniotiman
Master III
Master III

To set position of the label.

> 5 to the left, < 5 to the right.

If You remove 'Total' then set like 10 instead of 5.

tresesco
MVP
MVP

Or see, if this variant of solution (PFA) works for you.