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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
stou
Contributor III
Contributor III

How Calculate the text Count within the formula

Hi,

Please refer the formula, can anybody help me to calculate the text count in the below formula.

 

=if(Sum(Aggr(if(Sum(If(Year(smonth)='2022' ,Sale))>0,1,0),cat_,Quarter))=4,'Active',Sum(Aggr(if(Sum(If(Year(smonth)='2022' ,Sale))>0,1,0),cat_,Quarter)))

1 Reply
stou
Contributor III
Contributor III
Author

@Anil_Babu_Samineni and @PrashantSangle  Can you help me on this

 

=if(Sum(Aggr(if(Sum(If(Year(smonth)='2022' ,Sale))>0,1,0),cat_,Quarter))=4,'Active',Sum(Aggr(if(Sum(If(Year(smonth)='2022' ,Sale))>0,1,0),cat_,Quarter)))