Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

MDX : Generate() & String concatenation

$
0
0

Hi Everyone,

I'm actually trying to concatenate member names together but I can't achieve what I've in mind.

Looks like the use of GENERATE() is the way to go but I didn't succeed using it.

For example, I have 2 dimensions : ORDER & PRODUCT.

In 1 ORDER, I can have multiple PRODUCT.

If I CROSSJOIN those 2 dimensions, I have N lines for one ORDER where N = the number of products in that ORDER.

But what I'm trying to achieve is to have 1 line per ORDER where all the PRODUCT names are concatenated.

Is that possible using GENERATE() ?

Thanks in advance

Gaël


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>