Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Month going across the top

I was trying get QV to do something similar to the image below but I am stumped. Any advise?

QV.PNG

10 Replies
robert_mika
Master III
Master III

Is this a pivot table?

How are you trying to get the month row?

Not applicable
Author

Yes it is a pivot table.

settu_periasamy
Master III
Master III

Hi,

Check the Attachment.  May be helps..

Just used Pivot with the expression like

Sum(Aggr(sum(Sales)/sum(TOTAL Sales),Month,[Disposition Type]))


As per jontydkpi
Suggestion..

Sum(Sales)/sum(TOTAL <Month> Sales)

Capture.JPG

PradeepReddy
Specialist II
Specialist II

Expression:

sum(Field_Name)/sum(total <Month>Field_Name)

Number Format: Fixed to 2 digits & show in %

jonathandienst
Partner - Champion III
Partner - Champion III

You can simplify that expression:

Sum(Aggr(sum(Sales)/sum(TOTAL Sales),Month,[Disposition Type]))

to

Sum(Sales)/sum(TOTAL <Month> Sales)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
settu_periasamy
Master III
Master III

Thank You jontydkpi

I will update the same in my attachment..

Not applicable
Author

I got the expression part down but it is still not showing the months in each column. It looks like this right now;.qv2.PNG

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Drag the "Lead Month" column heading to the upper right corner of the chart and drop it there.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

Not applicable
Author

works now. How can I sort it ascending by month?