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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restrict view in Straight Table

Morning All,

I have created a rec in a straight table. However, I only want to see rows where I have values (ie non null and non zero) for both my data sources. eg in the following:

IDBalanceABalanceBDiff
11011001
2025-25
351051
414212220


I only want to see rows 1 and 4.

Can I do this in a Straight Table?

TIA

Tony

13 Replies
Not applicable
Author

I missed that BalanceA & BalanceB was expression.

You have to do like this

=

if(BalanceA<> 0 and BalanceB<> 0,ID)





and

mark Supress when value is NULL.

then you get this

Anders

=if(BalanceA<> 0 and BalanceB<> 0,ID)sum(BalanceA)sum(BalanceB)sum(BalanceA) - sum(BalanceB)
24322221
11011001
414212220


Not applicable
Author

Thanks Ansch, that's looking good.

BTW do you know how to re-name a calculated dimension?

cheers,

Tony

Not applicable
Author

Hi Tony

In the field just over the advanced-buttom you can re-name the field.

Anders

Not applicable
Author

Got it. Thanks Anders.