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