Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
maniram23
Creator II
Creator II

Pivot Table

Hi Experts,

How replace "Null Symbols( - )  to Zero ( 0 ) values in pivot table in Qlik sense.

i am trying a lot. But i didn't get an exact output.

Please help me.

Regards,

7 Replies
arulsettu
Master III
Master III

may be try like this

use it in calculated dimension

if(isnull(dimension),'0',dimension)

maniram23
Creator II
Creator II
Author

Hi arul,

Thanks for your replay.

I need an expression wise. Not a dimension wise.

For Example in qlikView:

In qlikview --- Pivot Table --- Presentation Tab ---- Left side  down corner ---- Null Symbol option is there  like that .

I Need the same "Null Symbol"  performance in Qlik Sense also.

regards,

rahulpawarb
Specialist III
Specialist III

Hello Mani,

Hope you are doing good!

I agree with Arul. You can make use of if(isnull(dimension),'0',dimension)

However, if you are loading data from ODBC source then use, SET NULLDISPLAY='0'; This will substitute all NULL values from the ODBC data source on the lowest level of data input. This will save efforts for writing validation check at every place.

NOTE: The use of NULLDISPLAY only affects data from an ODBC data source.

Regards!

Rahul

maniram23
Creator II
Creator II
Author

pivot.png

Hi Rahul,

Thanks for your replay.

See the above image. there null Symbol ( - ) are there.

there i want to Replace " 0 " Value.

Regards,

arulsettu
Master III
Master III

post your application

manidhana90
Partner - Contributor II
Partner - Contributor II

Hi mani,

Hope this will help u,

Edit your script while loading

If(Dimension='-',0,Dimension) as fieldname;

this might help you.

Regards,

manikandan

simondachstr
Luminary Alumni
Luminary Alumni

Checkout the alt function alt(expression,'0')