Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Conditional color

Hello,

I would like to identify a formula to highlight the rate column if there are if the account number appears twice in the pivot table.

I think this can be achieved using the aggr(count function

Please see example attached.

Thanks,

Esther

5 Replies
Anil_Babu_Samineni

Perhaps any one of these?

Count({<[Acc No] = {"=Count([Acc No])>1"}>} Rate)

OR

Sum({<[Acc No] = {"=Count([Acc No])>1"}>} Rate)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sumanta12
Creator II
Creator II

Hi,

Is this what you need?

PIC.PNG

devarasu07
Master II
Master II

Hi,

try like this, also other way to find the duplicate easily by using the list box object Show Frequency option.

if( Count([Acc No])>1,Yellow(),White())

Capture.JPG

Anonymous
Not applicable
Author

Yes, that is the desired outcome for by table in qlikview

Anonymous
Not applicable
Author

Sorry my question has changed slightly. I have another example using qlikview. If one of the products appears twice in this case "Shoes" then i would like the colors "green and yellow ' to be highlighted in yellow. As you can see the label does not repeat in a pivot table so I am not sure which expression to use.

Example.PNG

Thanks.