rchaturvedi27
12 months agoNew Contributor II
How to add two dimension (UD2s) hierarchy in same row/column in cube view?
Hi All, I am trying to add two UD2 dimension members in the Cube view member filter and obviously , its not allowing me to enter them. I went through the approach of creating a dimension in UD8 and t...
- 11 months ago
I have a feeling Package and Provider should have been in two different UDs, but anyway...
I'm still not entirely sure what your output should look like, maybe it would help if you created a mock in Excel with the desired final layout and showed it to us.
Things I would keep in mind:
- If you need to sum up values from multiple rows or columns, you can do it with the functions CVC (columns) and CVR (rows), even if the definition of these rows is actually on a single one. E.g. GetDataCell(CVR(1,1) + CVR(1,2)) would produce, on a new row, the sum of values from two output rows generated by the single definition U2#MemberA, U2#MemberB.
- You can hide columns that you only need as intermediate steps in a calculation, by setting the Header Format property IsColumnVisible to CVMathOnly. So you could have a column with U2#MemberA, U2#MemberB, mark it as CVMathOnly, then have a second column with GetDataCell(CVC(1,1) + CVC(1,2)), and only the second column would be visible.
- Creating a UD8 formula is an idea, but it will require a bit more information about the actual calculation that needs to be implemented.
- If everything else fails, you can create a custom GetDataCell function. The general technique is illustrated in this blog post. At that point, you can do pretty much anything you want, again with a bit of code.