Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Where go wrong on this expression = COUNT(if(Month_n=1,DISTINCT(Invoic)))

Hi All

I need to add Month_n=1 into below expression :-

COUNT(DISTINCT(Invoic))

I have try :-

COUNT(if(Month_n=1,DISTINCT(Invoic)))

it cannot work .

Paul

 

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

use set analysis where you can like belo

COUNT(DISTINCT {<Month_n={1}>}Invoic)

View solution in original post

1 Reply
dplr-rn
Partner - Master III
Partner - Master III

use set analysis where you can like belo

COUNT(DISTINCT {<Month_n={1}>}Invoic)