Hello
@Ole SchmidtBuilding on your expression, you can do something like the following:
set(
member(aggregate(tuple(currentMeasure,[2013]) within set [Camping Equipment]), '', 'Camping Equipment', [Sales (analysis)].[Products].[Products]),
member(aggregate(tuple(currentMeasure,[2013]) within set [Golf Equipment]), '', 'Golf Equipment', [Sales (analysis)].[Products].[Products]),
member(aggregate(tuple(currentMeasure,[2013]) within set [Outdoor Protection]), '', 'Outdoor Protection', [Sales (analysis)].[Products].[Products])
)
------------------------------
DENNY NAREZNY
------------------------------
Original Message:
Sent: Sun April 14, 2019 02:31 AM
From: Ole Schmidt
Subject: Dimensional reporting: setting context
Hi, in a crosstab I would like to show in three rows the differents product lines (accessoires, camping,...). For the values I want to have the context of year 2013, but only for this three items, without dragging the year in front of this three lines. Moreover I do not want to add 3 explizit members, but only one line, if that ist possible.
I tried something like set (member(aggregate tuple(currentMeasure,2013) within set [camping]);'camping';'camping');member2...) but it only gives me error messages. Do you have a good way to set the context of another dimension for a set of three prouduct lines, without seeing the context in the crosstable?
Thanks a lot,
Ole
------------------------------
Ole Schmidt
------------------------------
#CognosAnalyticswithWatson