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: 
Neha121
Contributor III
Contributor III

Replace '-' or null value with 0 in Pivot table Qlik sense

Hi All,

   I have a pivot table in Qliksense which has data like below: 

Neha121_0-1721703709645.png

Now the user doesn't want to see - for null he wants to see 0 in column F and G and 'Yes' in Column H like below

Neha121_2-1721703812512.png

How can we do it in formula? or do I have to do some coding at the backend?

 

2 Solutions

Accepted Solutions
MatheusC
Specialist II
Specialist II

@Neha121 
These nulls occur due to the of missing data in the join. That said, the solution is the new pivot table released by Qlik in custom objects, which provides this treatment in the chart properties.

MatheusC_0-1721738229107.png

 



Check if it is available in your version of Qlik. Alternatively, the Vizlib extension might also be able to handle it.


- Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

MatheusC
Specialist II
Specialist II

The new pivot table, although it can modify the missing null field, only has fixed values, so it does not support expressions, currently not.

- Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

3 Replies
MatheusC
Specialist II
Specialist II

@Neha121 
These nulls occur due to the of missing data in the join. That said, the solution is the new pivot table released by Qlik in custom objects, which provides this treatment in the chart properties.

MatheusC_0-1721738229107.png

 



Check if it is available in your version of Qlik. Alternatively, the Vizlib extension might also be able to handle it.


- Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Neha121
Contributor III
Contributor III
Author

Thanks @MatheusC , I was able to achieve it thanks a lot.. However for my "meets hurdle" I want to add 'Yes' if the count is 0..I have tried with isnull() doesnt work..  formula for meets hurdle is : 

if (Count({<[Threshold Flag]={'1'}>} [Claim Number])/aggr(Count([Claim Number]),PhysicalorNonPhysical,Policy) > 75 ,'Yes','No')

 

Neha121_0-1721777329652.png

like 

Neha121_1-1721777824999.png

 

 

MatheusC
Specialist II
Specialist II

The new pivot table, although it can modify the missing null field, only has fixed values, so it does not support expressions, currently not.

- Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!