dbTalk Databases Forums  

converting to NULL

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss converting to NULL in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ramunas Balukonis
 
Posts: n/a

Default converting to NULL - 04-05-2004 , 02:09 AM






Hello,
I have measure Sales cost, I would like to show this cell when sales cost value <> 0, in other way I would like to display empty cell.
I use source column of mesause:
case when "dbo"."v_Sales_Stock"."slst_sales_cost" <> 0 then "dbo"."v_Sales_Stock"."slst_sales_cost" else NULL end
But when I browse the cube I see the same value "0".

I found ms support articles according this question, but there are suggestion to implement several fact tables.
http://support.microsoft.com/default...b;en-us;244650

Is it possible to leave empty cell using one fact table. Have anybode some exprerience during this topic?

Ramunas Balukonis

Reply With Quote
  #2  
Old   
Abhinav Kumar
 
Posts: n/a

Default converting to NULL - 04-05-2004 , 02:23 AM






You can use "iif" function to display blanks instead
of "0".

Abhinav Kumar
MCP
akumar (AT) itmag (DOT) com.au

Quote:
-----Original Message-----
Hello,
I have measure Sales cost, I would like to show this
cell when sales cost value <> 0, in other way I would
like to display empty cell.
Quote:
I use source column of mesause:
case when "dbo"."v_Sales_Stock"."slst_sales_cost" <> 0
then "dbo"."v_Sales_Stock"."slst_sales_cost" else NULL end
But when I browse the cube I see the same value "0".

I found ms support articles according this question, but
there are suggestion to implement several fact tables.
http://support.microsoft.com/default.aspx?scid=kb;en-
us;244650

Is it possible to leave empty cell using one fact table.
Have anybode some exprerience during this topic?

Ramunas Balukonis

Reply With Quote
  #3  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: converting to NULL - 04-05-2004 , 04:22 AM



Thanks,
when using IIF I need to create calculated memeber. Is it possible to
display blank without using calculated member?

Ramunas Balukonis

"Abhinav Kumar" <akumar (AT) itmag (DOT) com.au> wrote

Quote:
You can use "iif" function to display blanks instead
of "0".

Abhinav Kumar
MCP
akumar (AT) itmag (DOT) com.au

-----Original Message-----
Hello,
I have measure Sales cost, I would like to show this
cell when sales cost value <> 0, in other way I would
like to display empty cell.
I use source column of mesause:
case when "dbo"."v_Sales_Stock"."slst_sales_cost" <> 0
then "dbo"."v_Sales_Stock"."slst_sales_cost" else NULL end
But when I browse the cube I see the same value "0".

I found ms support articles according this question, but
there are suggestion to implement several fact tables.
http://support.microsoft.com/default.aspx?scid=kb;en-
us;244650

Is it possible to leave empty cell using one fact table.
Have anybode some exprerience during this topic?

Ramunas Balukonis



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.