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

How to replicate excel formula based on multiple columns in Qlik

Hi,

Risks (Column AA) is calculated column in Excel, below formula is used  in excel to calculate this.Could you please help how we can replicate this in Qlik Sense:

=IF(OR(COUNTIF(AB8:AH8,"R")>0,COUNTIF(AB8:AH8,"A")>3),"R",IF(COUNTIF(AB8:AH8,"A")>1,"A","G"))Capture1.PNG

1 Reply
Anil_Babu_Samineni

Perhaps this?

If(Count(TOTAL <FieldName> FieldName1)>0 or Count(TOTAL <FieldName> FieldName1)>3, 'R',

If(Count(TOTAL <FieldName> FieldName1)>1, 'A', 'G'))

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