Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
jpjust
Specialist
Specialist

Filtering out from SetAnalysis

Hi,

I have an issue below.

Here is my table.

App Name                Stream                       App Publish Date

App-A                        Stream A                         2021-10-26

App-B                        Unpublished                    Never

Now my App Name expression is  =Aggr(Only({<[App Publish Date] = {'$(=Date(Today(),'YYYY-MM-DD'))'}, [App Stream] -= {'Unpublished'}>}[App Name]),[App Name])

The Unpublished record is not going away. Any idea what could be the issue with the above set analysis expression?

If there is any other way of excluding Unpublished, please let me know.

Thanks

2 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

Using below expression will remove data from that dimension only. an not the entire row.

Now my App Name expression is  =Aggr(Only({<[App Publish Date] = {'$(=Date(Today(),'YYYY-MM-DD'))'}, [App Stream] -= {'Unpublished'}>}[App Name]),[App Name]).

AshutoshBhumkar_0-1635270334839.png

 

You can try below expression.

=Count({<[App Publish Date] = {"$(=Date(Today(),'YYYY-MM-DD'))"}, Stream -= {'Unpublished'}>}[App Name])

AshutoshBhumkar_1-1635270355028.png

 

Thanks,

Ashutosh

 

 

jpjust
Specialist
Specialist
Author

Thanks Ashutosh for that expression.

Unfortunately, the output is like this for me.

App Name                Stream                       App Publish Date       count(Measure

App-A                        Stream A                         2021-10-26                  24

App-B                        Unpublished                    Never                         0

The record still stays on my qliksense table.

Thanks