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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Don't suppress null()

Hi,

I have a straight table with a count expression and it's showing only rows which are meeting criteria and suppressing others.


Expression is - =count({<ReportedMonth={$(vCurrentActMonth)},ReportedYear= {$(vCurrentActYear)}>} distinct floor(CreatedOn))

Now I want all Employee Name, irrespective of when it was created. if it doesn't match the criteria, show 0.

I have tried unchecking suppress null values in both dimension and expression, but nothing worked.

Regards,

Navdeep

Labels (1)
18 Replies
buzzy996
Master II
Master II

can u try this way,

=If(isnull(count({<ReportedMonth={$(vCurrentActMonth)},ReportedYear= {$(vCurrentActYear)}>} distinct floor(CreatedOn))),null(),count({<ReportedMonth={$(vCurrentActMonth)},ReportedYear= {$(vCurrentActYear)}>} distinct floor(CreatedOn)))


else if possible share ur qvw?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Can you post a qlikview document that demonstrates the problem?


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

PFA the app. ! I want to show all rows in table irrsepective of year DOJ

PrashantSangle

Hi,

What is your expected Count??

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
buzzy996
Master II
Master II

try this

s nulls.PNG

Not applicable
Author

Hi,

I tried but no success.

Not applicable
Author

Then nulls are coming in other columns.

buzzy996
Master II
Master II

u have to uncheck the check box by selecting the other dimensions.

Not applicable
Author

No problem with count, just that need to show all values and those who don't meet the criteria should be shown as 0