im having null data in one of the cell in my report
i have to display as "no data" when u run the report
how can i achive this problem?

Answers were Sorted based on User's Feedback



im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / uday

1.select the query item in the list which contains null value.
2.if it is char data type then click the data format in
properties.
3.select the format type text,
4.In the missing value enter the text as "no data".
5.so that you will get the output when it contain null values.

Is This Answer Correct ?    13 Yes 0 No

im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / naidu

1) click on query item that you have draged from the layer.
2) click on LIST it was in the properties
3) then in the properties you will find NO DATA CONTENTS
make it as YES
4) drag TEXT ITEM from tool box properties and type your
MESSAGE
5) Run the report

Is This Answer Correct ?    7 Yes 4 No

im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / l m patel

Hi,
There are lots of option.
In Frame Work Manager :
In query you write like this
1]Ex: Decode(column_name,' ','No-Data')
2]EX: case when WORKORDER.SITEID is null then 'No-Data'
else WORKORDER.SITEID end as SITEID


IN Report Studio also write same expression :
In query you write like this
1]Ex: Decode(column_name,' ','No-Data')
2]EX: case when WORKORDER.SITEID is null then 'No-Data'
else WORKORDER.SITEID end as SITEID

3]EX:
a) click on query item that you have draged from the layer.
b) click on LIST it was in the properties
c) then in the properties you will find NO DATA CONTENTS
make it as YES
d) drag TEXT ITEM from tool box properties and type your
MESSAGE
e) Run the report

4]EX:
a.select the query item in the list which contains null value.
b.if it is char data type then click the data format in
properties.
c.select the format type text,
d.In the missing value enter the text as "no data".
e.so that you will get the output when it contain null values.

That's it ....

Is This Answer Correct ?    2 Yes 0 No

im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / bash

In this scenario by using DECODE()function we can solve this
problem

Ex: Decode(column_name,' ','No-Data')

Is This Answer Correct ?    1 Yes 0 No

im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / muku

Is this informaica or any another reorting tool.
Please clarify

Is This Answer Correct ?    1 Yes 2 No

im having null data in one of the cell in my report i have to display as "no data" when u..

Answer / nikhila reddy

we isnull



select isnull(col name,'no data')

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Cognos Interview Questions

Hi is any one having link to download books on datawarehouse tool kit by ralph kimball or any other authors books.

5 Answers  


Which one is better among Value and select & search prompts,in terms of performance?

2 Answers   L&T,


What are the types of security?

0 Answers  


Explain the difference between native sql and cognos sql?

0 Answers  


What is called materialized view?

0 Answers  






Can you define drill down and drill up?

0 Answers  


Hi.. friends, dis Bhaskar p.if any of u having realtime scenerios.. plz send to me.. my mailid s bhaskarparitala.rao@gmail.com send ASAP.. waiting for reply..

0 Answers   TCS,


what is differences between the group span and levelspan

1 Answers  


Which lifecycle we will use for reporting?

0 Answers  


pls ans what are the filters we have in framework manager? filters in report studio?

3 Answers   IBM,


1.How can we driil through from a page report having query1 to list report having Query2 in master detail relationship n Drill through? 2.In database i have 50 records but when it is displayed on the report i'm getting 100 record with duplictes.How can we solve this to eliminate duplicates? 3.Exact Diff B/W Filter n Condition? 4.Render Variable? 5.I have leftouter join when right table does not have any matched records with left table what will be the output of the report whether it will be dispalying Null or blank in that particular row? 6.How to test the reports i.e Unit Testing? 7.How canwe drill through when there is no common column between the parent n child report? 8.How can we do performance tuning? I kindly request all the experts to give reply with correct answers and if possible send me some examples regarding that at srini.madhala@gmail.com

1 Answers   IBM,


--------------what is MemberCaption?

1 Answers  


Categories