CROSSJOIN behavior

Who is online?  0 guests and 0 members
Home  »  Forums   »  microsoft business intelligence   »  bi query languages (mdx, dmx)   » CROSSJOIN behavior

CROSSJOIN behavior

Topic RSS Feed

Posts under the topic: CROSSJOIN behavior

Posted: 11/30/2011

Padawan 136  points  Padawan
  • Joined on: 7/8/2011
  • Posts: 58

Hi all,

I'm using this calculation:

{[Dim Tarjetas].[SK Tarjeta].members}
*
{([Measures].[Num Tx])}

I would expect to find all the SK Tarjeta items that have a Num Tx associated with. Instead, I get the SK Tarjetas that have a Num Tx associated with the, PLUS the default SK Tarjeta (0) with a (null) value on NumTx.

What am i doing wrong?

Thanks

Felipe


Posted: 12/1/2011

Padawan 1392  points  Padawan
  • Joined on: 1/3/2010
  • Posts: 250
Answered  Answered

Since you specifie dimension.members, I believe you are selecting all members even if there is no data. Have you tried NON EMPTY {}?

Another suggestion, can you change code to something like this:

SELECT {[Measures].[Num Tx]} on 0,
[Dim Tarjetas].[SK Tarjeta].members on 1
FROM [cube]


Posted: 12/1/2011

Padawan 136  points  Padawan
  • Joined on: 7/8/2011
  • Posts: 58

Thanks Marco, I'll try this.


Page 1 of 1 (3 items)