Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nevilledhamsiri
Specialist
Specialist

All zero values to be converted to nothing (just a blank row)

Dear Members,

If I am to just bring the zero value rows to just a blank row, what adjustments are possible ? Because zero values are counted as a number in the case of count. 

BRANCHPAIDPROVIDED
RA25004500
RA35004700
RA10004900
RA15005100
RA2005300
RA135000
RA45000
EH3500200
EH12500400
EH10000600
EH5000800
RA01000
RA01200
RA01400

 

Thanks in advance

Neville

 

1 Solution

Accepted Solutions
Saravanan_Desingh

Are you looking something like this?

tab1:
LOAD BRANCH, If(PAID=0,Null(),PAID) As PAID, 
	 If(PROVIDED=0,Null(),PROVIDED) As PROVIDED;
LOAD * INLINE [
    BRANCH, PAID, PROVIDED
    RA, 2500, 4500
    RA, 3500, 4700
    RA, 1000, 4900
    RA, 1500, 5100
    RA, 200, 5300
    RA, 13500, 0
    RA, 4500, 0
    EH, 3500, 200
    EH, 12500, 400
    EH, 10000, 600
    EH, 5000, 800
    RA, 0, 1000
    RA, 0, 1200
    RA, 0, 1400
];

commQV70.PNG

View solution in original post

2 Replies
nevilledhamsiri
Specialist
Specialist
Author

 

Need only the zero values to be shown as blank but the total row should remain as it is with other data.

Saravanan_Desingh

Are you looking something like this?

tab1:
LOAD BRANCH, If(PAID=0,Null(),PAID) As PAID, 
	 If(PROVIDED=0,Null(),PROVIDED) As PROVIDED;
LOAD * INLINE [
    BRANCH, PAID, PROVIDED
    RA, 2500, 4500
    RA, 3500, 4700
    RA, 1000, 4900
    RA, 1500, 5100
    RA, 200, 5300
    RA, 13500, 0
    RA, 4500, 0
    EH, 3500, 200
    EH, 12500, 400
    EH, 10000, 600
    EH, 5000, 800
    RA, 0, 1000
    RA, 0, 1200
    RA, 0, 1400
];

commQV70.PNG