Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Lucky1
Creator
Creator

Display null value right side

Hi i have a pivot table

Status.             Count (Id)

Completed.                    2

Pending.            -

Pending is showing - because I don't have data for pending but null is showing left side of the column but I want to show it below 2 like below

Status.             Count (Id)

Completed.                    2

Pending.                          -

Labels (5)
2 Solutions

Accepted Solutions
marcus_sommer
MVP
MVP

The NULL replacement of '-' is a string and therefore in the standard-settings left-aligned. If you want to change it to right-aligned you need to change the layout-settings or you need to replace the NULL with a real value, maybe:

dual('-', 0)

View solution in original post

Lucky1
Creator
Creator
Author

Thank you for your reply.in measure i kept text alignment to right

View solution in original post

5 Replies
Chanty4u
MVP
MVP

try

num(ID) as  ID

Lucky1
Creator
Creator
Author

Hi chnty

Thanks for your reply it'sN ot working 

Chanty4u
MVP
MVP

Try this 

If(IsNull([Count (Id)]), '-', [Count (Id)]) as id

 

marcus_sommer
MVP
MVP

The NULL replacement of '-' is a string and therefore in the standard-settings left-aligned. If you want to change it to right-aligned you need to change the layout-settings or you need to replace the NULL with a real value, maybe:

dual('-', 0)

Lucky1
Creator
Creator
Author

Thank you for your reply.in measure i kept text alignment to right