ssas - Result of cube query shall be null if one element is null -
i've got cube 1 measure, uses count aggregation function. result of mdx queries looks this:
| germany | usa | russia | france | italy | ------------------------------------------------------ 2010 | 15 | 20 | null | null | null | 2011 | 20 | 25 | 10 | null | null | 2012 | 25 | 30 | 15 | 5 | null | 2010 - 2012| 60 | 75 | 25 | 5 | null |
for me works fine, our customer wants whole aggreagtion result null if 1 of dimension elements null. result has this:
| germany | usa | russia | france | italy | ------------------------------------------------------ 2010 | 15 | 20 | null | null | null | 2011 | 20 | 25 | 10 | null | null | 2012 | 25 | 30 | 15 | 5 | null | 2010 - 2012| 60 | 75 | null | null | null |
and make things more complicated behavior should same, when time dimension put on slice axis. result following mdx query
select [area].[germany]:[area].[italy] on 0 examplecube ([year].[2010]:[year].[2012])
should this
| germany | usa | russia | france | italy | ------------------------------------------------------ | 60 | 75 | null | null | null |
exists way in ssas and/or mdx achieve behavior?
Comments
Post a Comment