dbTalk Databases Forums  

Dimension Item Chosen Used to filter measures by other dimension

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


Discuss Dimension Item Chosen Used to filter measures by other dimension in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Scott Jucovics
 
Posts: n/a

Default Dimension Item Chosen Used to filter measures by other dimension - 05-05-2004 , 02:29 PM






I have 2 date fields in my cube, date mailed and date returned and 1 measure
called "Mailed Count". When a user filters the dimension "date returned" I
need to have the measure "Mailed Count" show the mailed quantity based on
the "Date Mailed" dimension even though the user already filtered by the
"date returned" dimension. In short, I need a way, I assume a calculated
measure, to show the ([date mailed].[Same timeframe as chosen in the "date
returned" dimension, [measures].[mailed count])

Any help or suggestions with this problem are greatly appreciated
Scott J



Reply With Quote
  #2  
Old   
Scott Jucovics
 
Posts: n/a

Default Re: Dimension Item Chosen Used to filter measures by other dimension - 05-05-2004 , 02:48 PM






I figured this out so I thought I would share:

Using the function and syntax below I was able to get the value I wanted
when someone changes the "Date Returned" dimension. The total count should
disregard the specified date returned filter value, but use it to specify
the date mailed information. In short, the LinkMember function does exactly
what I was looking for, take a filter value from one dimension and use it to
find the same level in a different dimension.
(LinkMember([Date Returned].currentmember, [Date Mailed]), [Date
Returned].[All Dates Returned], [Measures].[Mailed Count])



"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> wrote

Quote:
I have 2 date fields in my cube, date mailed and date returned and 1
measure
called "Mailed Count". When a user filters the dimension "date returned"
I
need to have the measure "Mailed Count" show the mailed quantity based on
the "Date Mailed" dimension even though the user already filtered by the
"date returned" dimension. In short, I need a way, I assume a calculated
measure, to show the ([date mailed].[Same timeframe as chosen in the "date
returned" dimension, [measures].[mailed count])

Any help or suggestions with this problem are greatly appreciated
Scott J





Reply With Quote
  #3  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: Dimension Item Chosen Used to filter measures by other dimension - 05-05-2004 , 03:10 PM



And you put this in a calculated member ?


"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> skrev i en meddelelse
news:Ob1fFotMEHA.3472 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
I figured this out so I thought I would share:

Using the function and syntax below I was able to get the value I wanted
when someone changes the "Date Returned" dimension. The total count
should
disregard the specified date returned filter value, but use it to specify
the date mailed information. In short, the LinkMember function does
exactly
what I was looking for, take a filter value from one dimension and use it
to
find the same level in a different dimension.
(LinkMember([Date Returned].currentmember, [Date Mailed]), [Date
Returned].[All Dates Returned], [Measures].[Mailed Count])



"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> wrote in message
news:Ob4YEdtMEHA.1556 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I have 2 date fields in my cube, date mailed and date returned and 1
measure
called "Mailed Count". When a user filters the dimension "date
returned"
I
need to have the measure "Mailed Count" show the mailed quantity based
on
the "Date Mailed" dimension even though the user already filtered by the
"date returned" dimension. In short, I need a way, I assume a
calculated
measure, to show the ([date mailed].[Same timeframe as chosen in the
"date
returned" dimension, [measures].[mailed count])

Any help or suggestions with this problem are greatly appreciated
Scott J







Reply With Quote
  #4  
Old   
Scott Jucovics
 
Posts: n/a

Default Re: Dimension Item Chosen Used to filter measures by other dimension - 05-05-2004 , 04:05 PM



yes, the equation below was added as a Calculated Member

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote

Quote:
And you put this in a calculated member ?


"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> skrev i en meddelelse
news:Ob1fFotMEHA.3472 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I figured this out so I thought I would share:

Using the function and syntax below I was able to get the value I wanted
when someone changes the "Date Returned" dimension. The total count
should
disregard the specified date returned filter value, but use it to
specify
the date mailed information. In short, the LinkMember function does
exactly
what I was looking for, take a filter value from one dimension and use
it
to
find the same level in a different dimension.
(LinkMember([Date Returned].currentmember, [Date Mailed]), [Date
Returned].[All Dates Returned], [Measures].[Mailed Count])



"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> wrote in message
news:Ob4YEdtMEHA.1556 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I have 2 date fields in my cube, date mailed and date returned and 1
measure
called "Mailed Count". When a user filters the dimension "date
returned"
I
need to have the measure "Mailed Count" show the mailed quantity based
on
the "Date Mailed" dimension even though the user already filtered by
the
"date returned" dimension. In short, I need a way, I assume a
calculated
measure, to show the ([date mailed].[Same timeframe as chosen in the
"date
returned" dimension, [measures].[mailed count])

Any help or suggestions with this problem are greatly appreciated
Scott J









Reply With Quote
  #5  
Old   
Scott Jucovics
 
Posts: n/a

Default Re: Dimension Item Chosen Used to filter measures by other dimension - 05-14-2004 , 10:07 AM



Just a note, when using the LinkMember function, be sure when using dates
that the dimension key and name are the same. I had difficulty arriving at
correct values until I realized the dimension I used with Dates used a
numeric value while the dimension name had textual information as well.

"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> wrote

Quote:
yes, the equation below was added as a Calculated Member

"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:OEtGsxtMEHA.1348 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
And you put this in a calculated member ?


"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> skrev i en meddelelse
news:Ob1fFotMEHA.3472 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I figured this out so I thought I would share:

Using the function and syntax below I was able to get the value I
wanted
when someone changes the "Date Returned" dimension. The total count
should
disregard the specified date returned filter value, but use it to
specify
the date mailed information. In short, the LinkMember function does
exactly
what I was looking for, take a filter value from one dimension and use
it
to
find the same level in a different dimension.
(LinkMember([Date Returned].currentmember, [Date Mailed]), [Date
Returned].[All Dates Returned], [Measures].[Mailed Count])



"Scott Jucovics" <sjucovics (AT) yahoo (DOT) com> wrote in message
news:Ob4YEdtMEHA.1556 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
I have 2 date fields in my cube, date mailed and date returned and 1
measure
called "Mailed Count". When a user filters the dimension "date
returned"
I
need to have the measure "Mailed Count" show the mailed quantity
based
on
the "Date Mailed" dimension even though the user already filtered by
the
"date returned" dimension. In short, I need a way, I assume a
calculated
measure, to show the ([date mailed].[Same timeframe as chosen in the
"date
returned" dimension, [measures].[mailed count])

Any help or suggestions with this problem are greatly appreciated
Scott J











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.