Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ramrongala
Contributor II
Contributor II

How to delete empty cell in straight table in expression tab

Please help on this scenario in higher priority. 

This my straight table

data.png

My requirement:  i want separate the positive negative zero and no data for suppose  negative values like below

=if([sep]-[apr]<0,[sep]-[apr]) i used this expression so below output wiil come.

data1.png

I want see only negative values in based on expression(difference) that mean delete or hide reaming  data.

i want see only 4 negative values(-0.18,-1.18,-1.00,-2.67)   reaming data (spaces) i don't want see that mean hide or delete those rows.

1 Solution

Accepted Solutions
veeranj
Creator II
Creator II

Hi,

add this in calculation dimension

=if(

(aggr(sum({$<Month={'September'}>}[Passing Fraction])/Count({$<Month={'September'}>}[Passing Fraction]),[Attribute Name]))

>

(aggr(sum({$<Month={'April'}>}[Passing Fraction])/Count({$<Month={'April'}>}[Passing Fraction]),[Attribute Name])),1,null())

and check option "suppress when value is null" .

Thanks,

Anjee

View solution in original post

6 Replies
Gysbert_Wassenaar

Add the same condition to the other expressions: =if([sep]-[apr]<0, ...apr expression... )


talk is cheap, supply exceeds demand
rupamjyotidas
Specialist
Specialist

In Calculated Dimension Maybe

if([sep]-[apr]<0, YourDimension)

veeranj
Creator II
Creator II

Hi,

add this in calculation dimension

=if(

(aggr(sum({$<Month={'September'}>}[Passing Fraction])/Count({$<Month={'September'}>}[Passing Fraction]),[Attribute Name]))

>

(aggr(sum({$<Month={'April'}>}[Passing Fraction])/Count({$<Month={'April'}>}[Passing Fraction]),[Attribute Name])),1,null())

and check option "suppress when value is null" .

Thanks,

Anjee

ramrongala
Contributor II
Contributor II
Author

It's working finally...Thanks to every one

ramrongala
Contributor II
Contributor II
Author

Thanks man..its working

ramrongala
Contributor II
Contributor II
Author

Thanks...its working