Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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])