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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bar Chart Dimension Issue

Hello,

I am a beginner on QlikView, and i would to create a chart which shows the result of the 12 last "MaJ" from the "Maj" Selected (1 year period from the Maj selected) :

Capture.PNG

However my chart shows just the result of the MaJ selected:

Capture.PNG

(Here "STEASoF" = "MaJ")

The dimension:

Capture.PNG

And the Expression looks like:

Capture.PNG

Do you have an idea ?

Thanks for advance for your help,

Cocalero.

35 Replies
swuehl
MVP
MVP

I got lost ...

sunny_talwar

I think the attachment did not come through for some reason.

Anonymous
Not applicable
Author

Stupid question: How can i post my sample please ?

Anonymous
Not applicable
Author

Stupid question: How can i post my sample please ?

sunny_talwar

Step1:

Capture.PNG

Step2:

Capture.PNG

Anonymous
Not applicable
Author

Thanks a lot, here my sample:

sunny_talwar

Something like this?

Capture.PNG

Expression

SUM({$<Job = {'Trader'}, AsOF = {$(=Max(AsOF)), $(=Max({<AsOF>}AsOF, 2)), $(=Max({<AsOF>}AsOF, 3))}>} STE)

Right now it just have set analysis for last three periods, but you can add the remaining 7 periods in your actual application.

Anonymous
Not applicable
Author

Thanks for your response.

But I don't understand why "=Max({<AsOF>}AsOF, 3)" is always equal to 42369, "=Max({<AsOF>}AsOF, 2)" is always equal to 42398 too. Why it doesn't change with the selection of the AsOF.

Cocalero.

swuehl
MVP
MVP

Or using the numeric search:

SUM({$<Job = {'Trader'}, AsOF = {">=$(=AddMonths(Max(AsOF),-2))<=$(=Max(AsOF))"}>} STE)

Anonymous
Not applicable
Author

It works perfectly !!

Thanks a lot