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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sohb2015
Contributor III
Contributor III

Pivot Table Expression column

Hello All,

As we know, in a pivot table expression always come after the dimensions. Now i have requirement where I need to show the expression before few of the dimension.

For Ex.

Year       Country      Sale     Status     

  2015     Australia    1000      A

  2015     India           2000      A

Sale column is a expression: sum(sales).

Is it possible to design the pivot table like this?

Please help

Thanks

Labels (1)
2 Replies
effinty2112
Master
Master

Hi Sohini,

A straight table would be a better choice for you. You can drag the expression column along to the left but you can't have a horizontal dimension like you can in a pivot table.

Cheers

rubenmarin
MVP
MVP

Hi, one option is load dimensions after the expression as an expression instead of dimension.

Other option is the reverse: load the expression as a calculated dimension:

=Aggr(Sum(Sale), Year, Country)

Not tested.