Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with Pie chart expression for Duplicate set of values

Hello Guys,

I encountered with a scenario where

IF the vendor number is different against the same vendor name than that is a duplicate vendor not when it displays against the same vendor number ;And if vendor name repeats one time with different vendor number than in pie chart it will display under the category 1 and if it repeats more one time than it will displayed as >1 Duplicate Vendor.

So, Final output for the given scenario have to be

Against 1 Duplicate record : 1

Against >1 Duplicate Record : 2

I am attaching the Excel here for this scenario and QVD .

Thanks is advance , any help is appreciated.

1 Reply
sunny_talwar

I think in your current scenario, all three Vendors are associated with multiple Vendor Numbers

Capture.PNG

But may be try like this

Dimension

=Aggr(If(Count(DISTINCT [Vendor Number]) = 1,1,0),[Vendor Name])

Expression

Count(DISTINCT [Vendor Name])