Quantcast
Channel: OLAP PivotTable Extensions
Viewing all articles
Browse latest Browse all 469

New Post: can one add a column and concatenate two fields using the olap extentions interface?

$
0
0
You may want to edit your post to remove a little personal info, by the way.

You can concatenate strings in MDX using the + sign. You might try something like:

[Project].[Project Code].CurrentMember.Name + [Task].[Task Code].CurrentMember.Name

But for that to work, you're going to have to put Project and Task on rows, so I'm not sure that's going to provide a ton of value.

The other concern is that when you add a measure like that, it will always return a value and will cause you to show every combination of project and task, even if other measures are null. So you may want the measure read like:

IIf(
IsEmpty([Measures].[Your Other Measure])
,null
,[Project].[Project Code].CurrentMember.Name + [Task].[Task Code].CurrentMember.Name
)

If that doesn't do the trick, it's probably best to ask for further help with MDX at:
https://social.msdn.microsoft.com/forums/en-US/sqlanalysisservices/threads/

Viewing all articles
Browse latest Browse all 469

Trending Articles



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