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: 
Not applicable

Calculated dimension with count expression and text

Hi,

I am trying to create a Calculated dimension, which concatenates a text field(Secondary theme), with the expression : count(distinct ........ )

I have attached the example I am working on.

I would like the Final Calculated dimension to have the Secondary Theme concatenated with COUNT(distinct  [Unique Question]) , in brackets.

Any ideas would be greatly appreciated!

Thanks.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Use this as calsulated dimention.

     =[Secondary Theme] &' '& aggr(count(DISTINCT [Unique Question]),[Secondary Theme])

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Use this as calsulated dimention.

     =[Secondary Theme] &' '& aggr(count(DISTINCT [Unique Question]),[Secondary Theme])

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thank you...Works perfectly!