![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am hoping for a quick answer since I have to go live on this today! ;-) Is it possible for a column to say something other than true/false for bit columns? I have a dimension in a report called "Active" that is pulled from a BIT column in a SQL db. In my OLAP report (viewed in a OWC PivotTable) instead of the values saying True/False I want them to be Active/InActive. Is there anyway to accomplish this? Thanks, Josh |
#3
| |||
| |||
|
|
Add a calculated member, display that with Basic.Value Tab IIF([your measure]=True,"Active","Inactive").... joe "aa7im" wrote: I am hoping for a quick answer since I have to go live on this today! ;-) Is it possible for a column to say something other than true/false for bit columns? I have a dimension in a report called "Active" that is pulled from a BIT column in a SQL db. In my OLAP report (viewed in a OWC PivotTable) instead of the values saying True/False I want them to be Active/InActive. Is there anyway to accomplish this? Thanks, Josh |
#4
| |||
| |||
|
|
I am hoping for a quick answer since I have to go live on this today! ;-) Is it possible for a column to say something other than true/false for bit columns? I have a dimension in a report called "Active" that is pulled from a BIT column in a SQL db. In my OLAP report (viewed in a OWC PivotTable) instead of the values saying True/False I want them to be Active/InActive. Is there anyway to accomplish this? Thanks, Josh |
#5
| |||
| |||
|
|
Or use a CASE statement in a view to cast the 0/1 to some other values -- and then load Analsyis Services from the view. Or you could use a CASE statement in the view to add a member name. Have the 0/1 be the member key; and Active/Inactive be the member name. The second is the option that I usually use. -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "jam96-BuffaloJoe" <jam96BuffaloJoe (AT) discussions (DOT) microsoft.com> wrote in message news:88FC5FA8-3528-4C10-B39C-BF85B7B1C14D (AT) microsoft (DOT) com... Add a calculated member, display that with Basic.Value Tab IIF([your measure]=True,"Active","Inactive").... joe "aa7im" wrote: I am hoping for a quick answer since I have to go live on this today! ;-) Is it possible for a column to say something other than true/false for bit columns? I have a dimension in a report called "Active" that is pulled from a BIT column in a SQL db. In my OLAP report (viewed in a OWC PivotTable) instead of the values saying True/False I want them to be Active/InActive. Is there anyway to accomplish this? Thanks, Josh |
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I ended up using the "REPLACE" function in the "Member Value" property for the field in the dimenstion. It basically just replaces the bit 0 with "Active" and bit 1 with "InActive". It is a text replace so I suspose it might be slow with a ton of rows but it works.... Any major issues with doing it this way? |
![]() |
| Thread Tools | |
| Display Modes | |
| |