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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Number Formatting... Zero's to Dashs

I'd like to display zero values as a dash similar to what I can do with an Excel spreadsheet with a format similar to

"_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)"

So far I haven't found any good way to do this in Qlikview besides replacing the zero value in the expression with a dash.  This is far from ideal as I'd like to retain the actual zero value when exported to Excel.

Thoughts??

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

A format string like #,##0.00;-#,##0.00;- works for me to show 0's as dashes. In QV a dash is shown, when exported to Excel a dash is also shown, but the underlying value is still a 0.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
rbecher
MVP
MVP

Maybe replace zero with Null(). It's not the same although...

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Not looking for nulls since I want the zeo to export to Excel.

Not applicable
Author

you could modify the expression used in the attachment.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

A format string like #,##0.00;-#,##0.00;- works for me to show 0's as dashes. In QV a dash is shown, when exported to Excel a dash is also shown, but the underlying value is still a 0.


talk is cheap, supply exceeds demand