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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
help4qv123
Creator II
Creator II

Custom expression In Bar Chart

Hello Experts,

I need some help on custom expressions.

As we know we can apply the custom expression to that bar chart.

Here the scenario is suppose i have a bar chart which compares the value( Actual vs Previous).

Bar chart with two bars..I want to have two custom expressions.

When i give the expressions it only considers one custom expression.

What if i want two ?

I have attached a sample test file. Please have a look..

Thanks in advance.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

No it doesn't. The bar would always be based on your second argument passed - (Sum(F4) in my sample). You see all bars are showing 555, but the bar lengths are different, isn't it?

View solution in original post

9 Replies
prma7799
Master III
Master III

Like this you want ??

help4qv123
Creator II
Creator II
Author

As per my attachment you can see there are only two bars. with some expression.

On the value display i want some other expression(custom) to be displayed.

For example if you are showing the sum of some value. i want to show it percentage with its sum to be displayed.

But the bar expression is calculated on the basis of its sum.

Hope you got my point.

avinashelite

what's the custom expression your taking about ...I could see your using 2 expression and enable bar for it ...for the other 2 you have not enabled any bar or text pop-up and what your expecting it to show ...I confused

tresesco
MVP
MVP

May be using Dual() like:

Capture.JPG

You can replace 555 with your custom expression.

help4qv123
Creator II
Creator II
Author

But if i use dual. according the value the bar also changes.

I want to show my bar with sum(Value). And value on popup(In place of 555 i want to show sum and its percentage).

tresesco
MVP
MVP

No it doesn't. The bar would always be based on your second argument passed - (Sum(F4) in my sample). You see all bars are showing 555, but the bar lengths are different, isn't it?

help4qv123
Creator II
Creator II
Author

To Be more clear . See the screenshot below.

There is one bar chart with some data . The second chart expression is different (%).

I want to display them on the 1st chart.

Capture1.PNG

tresesco
MVP
MVP

Not sure if understood right. This?

Capture.JPG

help4qv123
Creator II
Creator II
Author

Yes. This Works. Thanks for the Time:)