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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
renjithpl
Specialist
Specialist

Get Distinct ids in dimension

Hi all,

I have a field called [Case No], it has more duplicate Case numbers, i have selected that field in my dimension to bring a pivot table, its showing all duplicate ids, How will i filter out duplicate ids and show only rest in my dimension. ?

Regards

Ranjit

7 Replies
Anonymous
Not applicable

Hi Ranjit,

Maybe this can help you.

Edit your dimension like this:

num(distinct [Case No])

Regards,

Henco

renjithpl
Specialist
Specialist
Author

No dint work...

Not applicable

Ranji, not able to understand, I guessing out. Only(Distinct FieldName) . Check this helps you out or psot the sample data and explain us bit more.

- Sridhar

renjithpl
Specialist
Specialist
Author

Hi this is my pivot table, [Case No] is my dimension here, you can see some ids are duplicates,

like 6855, 6852,

i dont want to show duplicates, 

= [Case No]Case NameReviewReworkQCGrand Total
TrainingTraining320032
6854Prithvi Information Solutions Ltd800.58.5
6855Serenity Inn8008
6855Serenity inn0011
6852Multiverse0011
6852
Multiverse
6006
6852
Multiverse
8008


i want a table like below..

please look at the review and grand total it joins all the values too..

= [Case No]Case NameReviewReworkQCGrand Total
TrainingTraining320032
6854Prithvi Information Solutions Ltd800.58.5
6855Serenity Inn8019
6855Serenity inn0011
6852Multiverse140115
Anonymous
Not applicable

That's how I would expect it to show up. Is Review by any chance a dimension?

Could you upload a small example? That would give you a quick response from someone

Anonymous
Not applicable

EDIT: it looks like Review is a dimension and not a expression, is that right?

Maybe this can help you.

Use in the expression the aggr function.


For example: num(aggr(distinct Review, [Case No]))

As Johannes said, it would be helpfull if you can share a small example with us.

Regards,

Henco

renjithpl
Specialist
Specialist
Author

HI i have attached my qvw file... in the report tab is my table... i want to show the unique Case no as my dimension, i dont mind if you suggest me any different ways...

Thanks