![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all! Unfortunately I'm faced with a problem for which I can't find a solution. The requirement I'm facing seems not too exotic therefore I hope you came across it too. I'm analyzing receipts and I need to know how many of them contain products A and B. I know how to query the number of receipts that contain product A ([Measures].[Receipts], [Product].[A]) but since a tuple can only contain one member of a dimension, it is impossible to add Product B to the query. Thanks for any help! Martin |
#3
| |||
| |||
|
|
Hi Martin. WHERE { [Measures].[Receipts].[Product].[A] : [Measures].[Receipts].[Product].[b] } Have you tried range inclusion? kontakt (AT) ryf (DOT) de> wrote in message news:1150076455.192761.298360 (AT) g10g2000cwb (DOT) googlegroups.com... Hi all! Unfortunately I'm faced with a problem for which I can't find a solution. The requirement I'm facing seems not too exotic therefore I hope you came across it too. I'm analyzing receipts and I need to know how many of them contain products A and B. I know how to query the number of receipts that contain product A ([Measures].[Receipts], [Product].[A]) but since a tuple can only contain one member of a dimension, it is impossible to add Product B to the query. Thanks for any help! Martin |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thank you very much for your help. Unfortunately what I'm looking for is a slightly different problem. I need to know how many Receipts contain both Products A and B not just one of them. Therefore I need a Tuple that contains both Products I guess. But I have no clue how to construct such. Any help is welcome. Thanks, Martin |
#6
| |||
| |||
|
|
I understand you want the case of basekt analysis. Google search will give you many related information with keyword of MDX and "basket analysis" Ohjoo kontakt (AT) ryf (DOT) de> wrote in message news:1150114269.024513.9200 (AT) i40g2000cwc (DOT) googlegroups.com... Thank you very much for your help. Unfortunately what I'm looking for is a slightly different problem. I need to know how many Receipts contain both Products A and B not just one of them. Therefore I need a Tuple that contains both Products I guess. But I have no clue how to construct such. Any help is welcome. Thanks, Martin |
#7
| |||
| |||
|
|
Thank you very much for your help. Unfortunately what I'm looking for is a slightly different problem. I need to know how many Receipts contain both Products A and B not just one of them. Therefore I need a Tuple that contains both Products I guess. But I have no clue how to construct such. Any help is welcome. Thanks, Martin |
![]() |
| Thread Tools | |
| Display Modes | |
| |