Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
momofiore
Creator
Creator

How to delet Null rows in pivot table ?

hey guys

i'm trying to delete a rows that doesn't contain anything in a pivot table but i cant find the solution. i dont use any dimension just expressions

here is attached picture. if somebody could help me thanks.

i can use instead of the pivot table a  straight table

youssefbelloum

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

I believe you cannot suppress header row in pivot table. So try this in your straight table. Attached is the solution for straight table.

View solution in original post

8 Replies
MK9885
Master II
Master II

what are your expressions?

momofiore
Creator
Creator
Author

for passengers   =Sum ([# Transported Passengers]) / Sum ([# Available Seats])

for client   =Sum ([# Transported Passengers])

you can put any expressions you want what the important for me is to delet the the empty row

@arvind654 thanks

MK9885
Master II
Master II

Do you have null values in any of your dimensions (([# Transported Passengers] or [# Available Seats]) ?

Without using Dimension or Calculated dimension how are you getting values as Passenger and Client?

Usually to remove nulls you can use len trim with if condition in back end or

use set analysis like below

Sum({<[# Transported Passengers] -={0}>}[# Transported Passengers] ) / Sum ([# Available Seats])

Sum({<[# Transported Passengers] -={0}>}[# Transported Passengers] )

Can you share a sample?

vishsaggi
Champion III
Champion III

Can you share this qvw file where you trying this?

momofiore
Creator
Creator
Author

no no im no using any dimensions.

you cant just set any expressions you want. important for me is to have a table without the 2 empty cells.

you cant make for example passenger   -> 89/5*3   client   -> 69/78-9

you can use otherwise a straigte table or a table box .

vishsaggi
Champion III
Champion III

Can you share the app where you having this issue?

momofiore
Creator
Creator
Author

here you can find my applcations

vishsaggi
Champion III
Champion III

I believe you cannot suppress header row in pivot table. So try this in your straight table. Attached is the solution for straight table.