Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add expression in straight table without duplicates?


Hi,

I have a column CustomerId with duplicates. I need to add this column as expression in straight table without duplicates. can anyone please suggest how to add expression without duplicates.

Thanks.

21 Replies
tresesco
MVP
MVP

Like attached sample?

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Its not possible to do this with straight table, instead you can use the pivot table.

Regards,

Kaushik Solanki

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

please use Pivot table to show Untitled.png

Not applicable
Author

Thanks very much.

sebastiandperei
Specialist
Specialist

Kaushik, sorry, it is possible to do it in a straight table.

You just need to know, in this example, which ID you want to see, and use AGGR to aggregate all results in one by Customer ID.

Amelia, I was asking you this, and you said "Thanks"!!!

Not applicable
Author

Sorry. I mentioned in my previous tab  (Aug 12, 2014 11:59 AM) ,as I need both IDs to have in the table. Can you send me please how to use AGGR?

Not applicable
Author

Sorry. when I am sending to excel it is showing again multiple instances of CustomerID where I want to see only one Instance with IDs. I have used pivot table. can sort my problem please!

Not applicable
Author

Thanks. when I am using pivot table again the values are showing as duplicates when exporting to excel. Please help me.

sebastiandperei
Specialist
Specialist

I cant understand...... sorry.

For example, about CustomerID 39, you have:

CustomerID ID Dateclosed Dateenter name Count
2
392621809/05/201416/04/2014mor1
391110814/05/201428/11/2013add1

You said that you DONT WANT to see Files with duplicated values of CustomerID. Then, which file you DONT WANT to see?

You have TWO different ID for one CustomerID, so you should say which one "ID" you would like to see, because it is the only way to see only ONE file, if you want to see the ID.

Could you understand what we need to get the way to help you?

First think what you need, without think about Qlikview, and send a table with the values you need to show, please.

jagan
Luminary Alumni
Luminary Alumni

Hi Amelia,

PFA attached file for solution.  created one dummy expression for Customer ID and hidden the customer dimension in presentation tab.

Hope this helps you.

Regards,

Jagan.