Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to replace with message instead of dashes in total?

Hi,

I have straight table

with Dimension : Member

       Expression1: Count(Distinct(Reference_SheetA))

       Expression2: =Replace(count({<Result1={'Fail'}>}Distinct Reference_SheetA),'0', 'No Data')

       Expression3: Expression1 + Expression2

so, i expression2 if there is no data it is showing 'No Data' . because of this expression3 is showing dashes. How can I replace the dashes with 'No Data' if there is no data after suming expression1 and expression2?

Thanks.

9 Replies
Not applicable
Author

On the Properties tab of the straight table, change the Null symbol to No Data

MK_QSL
MVP
MVP

Try

RangeSum(Expression1,Expression2)

its_anandrjs

Hi,

You can do some change in Expression2 like

if( count({<Result1={'Fail'}>}Distinct Reference_SheetA) = 0,'No Data',count({<Result1={'Fail'}>}Distinct Reference_SheetA))


Thanks & Regards

Not applicable
Author

Thanks. it is showing 100%. but I need 'No Data'

sorry i entered wrog expression3 actually in the expression3 actually it is Expression2/Expression1

is it possible now


Not applicable
Author

Thanks. But I need only for expression3. I don't want to replace in all columns if any case there is no data.

Not applicable
Author

Thanks. Still showing same dashes.

jerem1234
Specialist II
Specialist II

Maybe try something like:

alt(Expression2/Expression1, 'No Data')

Hope this helps!

MK_QSL
MVP
MVP

Try Like Below....

=IF(ISNUM(Column(2)/Column(1),Column(2)/Column(1),'NO DATA')

antoniotiman
Master III
Master III

If(Column(2)='No Data','No Data',Column(2)/Column(1))