![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
#3
| |||
| |||
|
|
WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID") SELECT {Measures.StreetID} ON COLUMNS, [Street].[StreetName].Members ON ROWS FROM [Adv] Ohjoo Kwon "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:FAFE4AAC-05A0-41D2-B809-5C6FF6E5372A (AT) microsoft (DOT) com... I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
#4
| |||
| |||
|
|
WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID") SELECT {Measures.StreetID} ON COLUMNS, [Street].[StreetName].Members ON ROWS FROM [Adv] Ohjoo Kwon "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:FAFE4AAC-05A0-41D2-B809-5C6FF6E5372A (AT) microsoft (DOT) com... I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
#5
| |||
| |||
|
|
When I am adding WHERE condition to the query i want the result to show me in the rows only the streets answering to the condition: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID")' SELECT {Measures.StreetID} ON COLUMNS, NON EMPTY [Street].[StreetName].Members ON ROWS FROM [Adv] WHERE [Advertiser].[All Advertiser].[Peace] it shows me all the streets and their StreetID not only the ones that answer the where condition . why? thanks again "Ohjoo Kwon" wrote: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID") SELECT {Measures.StreetID} ON COLUMNS, [Street].[StreetName].Members ON ROWS FROM [Adv] Ohjoo Kwon "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:FAFE4AAC-05A0-41D2-B809-5C6FF6E5372A (AT) microsoft (DOT) com... I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
#6
| |||
| |||
|
|
I'm sorry I don't understand your question. WHERE clause plays the role of slicing. It does not affect on the row axis directly. Is there any available condition between Street and Advertiser to filter the members on the row axis? For example, Filter([Street].[StreetName].Members, What Condition?) Ohjoo "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:80555EAC-1225-421A-8041-08691D61BC08 (AT) microsoft (DOT) com... When I am adding WHERE condition to the query i want the result to show me in the rows only the streets answering to the condition: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID")' SELECT {Measures.StreetID} ON COLUMNS, NON EMPTY [Street].[StreetName].Members ON ROWS FROM [Adv] WHERE [Advertiser].[All Advertiser].[Peace] it shows me all the streets and their StreetID not only the ones that answer the where condition . why? thanks again "Ohjoo Kwon" wrote: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID") SELECT {Measures.StreetID} ON COLUMNS, [Street].[StreetName].Members ON ROWS FROM [Adv] Ohjoo Kwon "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:FAFE4AAC-05A0-41D2-B809-5C6FF6E5372A (AT) microsoft (DOT) com... I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
#7
| |||
| |||
|
|
Every street has an Advertiser and i want to display only the streets that their Advertiser is 'Peace'. it wark fine if i dont show the Properties ("StreetID") in the cols but if i add the property i get all the streets no matter what is the Advertiser. thanks "Ohjoo Kwon" wrote: I'm sorry I don't understand your question. WHERE clause plays the role of slicing. It does not affect on the row axis directly. Is there any available condition between Street and Advertiser to filter the members on the row axis? For example, Filter([Street].[StreetName].Members, What Condition?) Ohjoo "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:80555EAC-1225-421A-8041-08691D61BC08 (AT) microsoft (DOT) com... When I am adding WHERE condition to the query i want the result to show me in the rows only the streets answering to the condition: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID")' SELECT {Measures.StreetID} ON COLUMNS, NON EMPTY [Street].[StreetName].Members ON ROWS FROM [Adv] WHERE [Advertiser].[All Advertiser].[Peace] it shows me all the streets and their StreetID not only the ones that answer the where condition . why? thanks again "Ohjoo Kwon" wrote: WITH MEMBER Measures.StreetID AS 'Street.CurrentMember.Properties("StreetID") SELECT {Measures.StreetID} ON COLUMNS, [Street].[StreetName].Members ON ROWS FROM [Adv] Ohjoo Kwon "Ruby Nadler" <RubyNadler (AT) discussions (DOT) microsoft.com> wrote in message news:FAFE4AAC-05A0-41D2-B809-5C6FF6E5372A (AT) microsoft (DOT) com... I have a question: i Street dimension with 3 levels: *state **city ***StreetName on the last level (street) i have member property StreetID. hoe can i show the street name on row and is member property in col? this stuff wil not work: SELECT non empty {[Street].[StreetName].members} on rows, non empty {[Street].[StreetName].MEMBERS DIMENSION PROPERTIES [Street].[StreetName].[StreetID]} on columns From [adv] thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |