Author Topic: Changing data format of a calculated row in a cross tab  (Read 620 times)

Offline maverick_hs

  • Full Member
  • ***
  • Posts: 37
  • Forum Citizenship: +0/-0
Hi,

Using the ideas discussed in some other posts here, I was able to create a calculation on my cross tab, (i.e. using tabular sets).

So, I had a row A and a row B (both dollars). I wanted a row C which is A/B. I have it now using tabular sets but the problem is that C is also displayed as dollars. Can I change the format somehow only for C without affecting A and B? I couldn't find any such feature in report studio...

Could it be done by modifying the xml somehow?

Thanks a lot for any suggestions.

Offline CoginAustin

  • Community Leader
  • *****
  • Posts: 189
  • Forum Citizenship: +10/-0
Re: Changing data format of a calculated row in a cross tab
« Reply #1 on: 01 Mar 2006 08:48:52 pm »
Change the format to what? It is just a data item. You can cast it to be whatever you wish.

Offline maverick_hs

  • Full Member
  • ***
  • Posts: 37
  • Forum Citizenship: +0/-0
Re: Changing data format of a calculated row in a cross tab
« Reply #2 on: 01 Mar 2006 09:31:40 pm »
I should have been more explicit in my question. All three rows A,B and C are numbers but when I am displaying it on the report, I choose to display it as currency, which is what I want for A and B. But I don't want to display the $ sign for C.

I don't think using cast in the expression for C will solve this issue. If it could, then I am not able to follow.

Thanks a lot for any help.

Offline CoginAustin

  • Community Leader
  • *****
  • Posts: 189
  • Forum Citizenship: +10/-0
Re: Changing data format of a calculated row in a cross tab
« Reply #3 on: 02 Mar 2006 02:17:24 am »
conditional variable. if row <> c then diplay $?

Offline bdybldr

  • Global Moderator
  • Statesman
  • *****
  • Posts: 275
  • Forum Citizenship: +7/-1
Re: Changing data format of a calculated row in a cross tab
« Reply #4 on: 22 May 2006 09:39:11 pm »
Maverick,
Any update on this issue?  Please post your solution if resolved and close this topic.  Thanks.