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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
pasunurisandeep
Contributor
Contributor

Displaying Dimension values and Count of Dimension in single cell for a pivot table

Hi Experts,

I need to display Dimension  value and Count(Dimension) in a single cell for a pivot table.

Is it possible to attain this?

 

 Capture.PNG

Thanks Really Appreciate your help.

1 Solution

Accepted Solutions
sunny_talwar

May be like this as your expression

 

Dim2 & If(RowNo() = NoOfRows(), Count(TOTAL <Dim1> DISTINCT Dim2), '')

If you need it as a calculated dimension, then may be this

 

Aggr(
Dim2 & If(RowNo() = NoOfRows(), Count(TOTAL <Dim1> DISTINCT Dim2), '')
, Dim1, Dim2)

View solution in original post

1 Reply
sunny_talwar

May be like this as your expression

 

Dim2 & If(RowNo() = NoOfRows(), Count(TOTAL <Dim1> DISTINCT Dim2), '')

If you need it as a calculated dimension, then may be this

 

Aggr(
Dim2 & If(RowNo() = NoOfRows(), Count(TOTAL <Dim1> DISTINCT Dim2), '')
, Dim1, Dim2)