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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hide the blank data

Employee                Pending on who                           Id

Jane                         -                                                A1

Alex                         Raj                                            A2

Rachel                     Amir                                           B1

Mia                          -                                                C1

Mia                          Lisa                                           C2

What formula should i use,I want to show If employee has pending on who only and show the its id.

The result should be:

Employee                Pending on who                           Id

Alex                         Raj                                            A2

Rachel                     Amir                                           B1

Mia                          Lisa                                           C2

TQ

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with Employee and Pending on who as dimensions and only({<[Pending on who] = {'*'}>}Id) as expression. If the blank fields are not really blanks but string values '-' then use only({<[Pending on who] -= {'-'}>}Id) as expression.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with Employee and Pending on who as dimensions and only({<[Pending on who] = {'*'}>}Id) as expression. If the blank fields are not really blanks but string values '-' then use only({<[Pending on who] -= {'-'}>}Id) as expression.


talk is cheap, supply exceeds demand
maxgro
MVP
MVP

maybe with a calculated dimension in a straight table chart

=if(len(trim([Pending on who]))>0, Employee)

and [Pending on who] and Id as expression