Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculated dimension

Hi Experts,

i have a pivot table like below

Capture3.JPG

wherever a particular product number has two or more customer details in it, then i want to display as Customer 1, Customer 2, Customer 3, & so on...

Required output:

Capture4.JPG

is it possible?

if so, can someone please help me with the calculations?

1 Solution

Accepted Solutions
sunny_talwar

May be like this in your calculated dimension for [Customer Details]

Aggr(If(Count(TOTAL <Area, [Product No]>[Customer Details]) > 1, 'Customer ' & RowNo(), [Customer Details]), Area, [Product No], [Customer Details])

View solution in original post

3 Replies
sunny_talwar

May be like this in your calculated dimension for [Customer Details]

Aggr(If(Count(TOTAL <Area, [Product No]>[Customer Details]) > 1, 'Customer ' & RowNo(), [Customer Details]), Area, [Product No], [Customer Details])

marcus_sommer

If you are handling with a large dataset it might be better to create this as new field within the script than such calculated dimensions could be slow down the app-performance.

- Marcus

Not applicable
Author

thank u so much