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

Is it possible to display a % change from month to month in a bar chart?

Bar Chart: That give me monthly totals. Is it possible to show a % change from month to month?

Dimension: ServiceDate_YYYYMM

Expression: Count( {<STARTDATE_YYYY = {"2016"}>} ID)

1 Solution

Accepted Solutions
sunny_talwar

I think After is not right here. After will only work in pivot table.... Try this:

Num(Count(ID)/Above(Count(ID)) - 1, '#.00%')

View solution in original post

5 Replies
sunny_talwar

May be like this:

Count(ID)/Above(Count(ID))

pooja_sn
Creator
Creator

num((Count(ID)-After(Count(ID)))/After(Count(ID)),'#.##' ) 

Use 'Before/After' as per orientation of your chart

Anonymous
Not applicable
Author

When I use the formula you suggest I receive a "No data to display" Would it have to do with how I'm calculating my expression?

Orginial expression = Count( {<STARTDATE_YYYY = {"2016"}>} ID)

sunny_talwar

I think After is not right here. After will only work in pivot table.... Try this:

Num(Count(ID)/Above(Count(ID)) - 1, '#.00%')

Anonymous
Not applicable
Author

I see results using your expression but it's not a % change from month to month.