COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: pooja on 22 Apr 2014 11:15:05 AM

Title: Update/Modify Crosstab fact cell
Post by: pooja on 22 Apr 2014 11:15:05 AM
Hi All,

It is possible to update/modify particular crosstab fact cell? I have an strange issue-
In report we have Month, Quarter & YTD columns against multiple accounts rows as measures. Which includes VAR% and GROSS% as percentage rows too. When I applied total formula for Month, Quarter & YTD column - numbers are coming good. BUT- problem with VAR% and GROSS% which should have average on Quarter & YTD column instead of total. How can I achieve both total & average on same column???

Accounts                        Month                   Quarter               YTD
--------------------------------------------------------------------------------
revenue(total)         
expenses(total)
VAR%(average)
Gross MArgin%(average)


Thanks,
P
Title: Re: Update/Modify Crosstab fact cell
Post by: LFC on 22 Apr 2014 01:43:36 PM
Have you tried creating a "Aggregate(CurrentMeasure within [Column]) " calculated field and just stacking as rows in crosstab?
Title: Re: Update/Modify Crosstab fact cell
Post by: pooja on 22 Apr 2014 02:19:59 PM
I just tried. But did not worked out. >:(
Title: Re: Update/Modify Crosstab fact cell
Post by: MFGF on 22 Apr 2014 04:39:36 PM
Quote from: pooja on 22 Apr 2014 02:19:59 PM
I just tried. But did not worked out. >:(

Pooja, I refer you to this post, paragraph 1 part d, to be precise:

http://www.cognoise.com/index.php/topic,24030.0.html

MF.
Title: Re: Update/Modify Crosstab fact cell
Post by: pooja on 23 Apr 2014 10:13:35 AM
Sure MFGF,

I apologize.

When I tried as per LFC - Aggregate(CurrentMeasure within [Column]). it works for only VAR% and GROSS MARGIN%, but other numbers too came out as aggregate, which should be total. 

Title: Re: Update/Modify Crosstab fact cell
Post by: pooja on 24 Apr 2014 10:23:26 AM
Hi all,

I resolved this issue. I built the report using multiple cross tab. Using one crosstab for each VAR% & GROSS MARGIN % rows and inserted between other crosstab.


P
Title: Re: Update/Modify Crosstab fact cell
Post by: MFGF on 24 Apr 2014 10:26:43 AM
Quote from: pooja on 24 Apr 2014 10:23:26 AM
Hi all,

I resolved this issue. I built the report using multiple cross tab. Using one crosstab for each VAR% & GROSS MARGIN % rows and inserted between other crosstab.


P

Thanks for the update and for posting the solution. We appreciate it!! :)

MF.