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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Value on data points different than expression result

Hello,

I have a graph with one dimension and 2 expressions:

Expression 1 = % of Open Invoice/Order

count({<STATUS = {'Open'}>} ID) / count(ID)

Expression 2 = % of Closed Invoice/Order

count({<STATUS = {'Closed'}>} ID) / count(ID)

I want to display in the bars, the count of Open Invoice/Order and Closed Invoice/Order.

I know how to do it when I have one expression but it does not work with multiple expressions. I tried the "show value" attribute of expressions but it only allows to decide if the value should be displayed or not, I cannot put a different calculation.

Anybody would know how I can achieve below result without changing the dimension/expression implementation?

Percentage and Count.PNG.png

Thanks,

jc

9 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Please find attached file for solution.

Regards,

Jagan.

Not applicable
Author

Hello Jagan,

Unfortunately my real application is more complicated and I cannot add a second dimension to my graph.

Any other way to get what I am looking for?

Thanks,

jc

Not applicable
Author

The only way I can see you achieving this is to add two more expressions that are the count of the closed and open and then split the Axis .. as attached

jagan
Partner - Champion III
Partner - Champion III

Hi,

I think it is not possible with 1 Dimension.

Regards,

Jagan.

sudeepkm
Specialist III
Specialist III

please take a look at the example.

Not applicable
Author

I do not think it is very readable.

If the graph behaviour is under total control, I thought of adding "Text in chart" on each bar. Otherwise I will need to review my dimension/expressions organization.

Thanks for trying guys.

Not applicable
Author

The user wants the Y-axis to be in % but this is an interesting workaround.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Instead you can create two charts for showing % in one chart and numbers in another chart.

Regards,

jagan.

sudeepkm
Specialist III
Specialist III

if you want both the numbers and % then you ca split axis in same chart to have both displays in two sections. top  and bottom.

T116549.png