Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Want to show missing head amt as 0

I am creating A/C reports on that i am using heads A and B in sample data A and B is shown for Denmark in pivot table but for Berlin i want to show the B value as null like a/c heads.

Fact:

Load * inline [

Curr_Amt,GlCode

15000,1000

30000,2000

25000,1000

];

DimTable:

load * Inline  [

GlCode,Head,City

1000,A,Denmark

2000,B,Denmark

1000,A,Berlin

];

Out put needed:-

If Selecting City = Denmark data shown in pivot table is.

Head,Curr_Amt

A,15000

B,30000

And if Berlin

Head,Curr_Amt

A,25000

B,0

0 value to be shown for B head when Berlin is selected.

Thanks,

Desouza

3 Replies
marcus_sommer

You could try to get your wanted output if you disabled the hiding of NULL within your table-chart. It meant by dimensions untick hide NULL and tick show all values and by expressions (in tab presentation) untick suppress NULL.

But this doesn't helped in each cases of missing data. Quite often you need to generate them, see: How to populate a sparsely populated field.

- Marcus

Gysbert_Wassenaar

Enable the options Suppress When Value is Null and Show All Values on the Dimensions tab and disable the option Suppress Zero-Values on the Presentation tab.


talk is cheap, supply exceeds demand
Not applicable
Author

For all dimension you suggested i have 3 dimension.