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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
dhanu_today
Creator
Creator

Distinct Help !!

Hi Everyone,

I need some help to get the below requirement.The data and out put as below.

Data:

RegionCust_id
West1ABC
West1CBC
West1BCA
North1BCA
North1BZC
South1ABC
South1BBB
South1BBC

The output is like;

Region(Dimension)Count(distinct Cust_id)
6
West13
North12
South13

Req:

The 6 is expression total in staright table.When we make the sum its showing the count as 8.But the requirement is we have to show the distinct cust_id's region wise.To do this we have to consider only count as 1 for the cust_ids available in multiple regions.E.g.BCA is available in both West1 and North1 so then we have to consider the count as 1 at any one of the region.The same logic is for ABC as well.I have to do the same in design level is an added advantage.

Let me know if in case of clarity required.

Thanks in adv,

Dhanu

11 Replies
dhanu_today
Creator
Creator
Author

Thanks Manish.It seems working in backend and is any chance to apply the same in design level because of the Region and cust_id fields are coming from diff tables with the combination big data model.

Dhanu

MK_QSL
MVP
MVP

Will try and come back to you on this