cancel
Showing results for 
Search instead for 
Did you mean: 

Cross Tab Report

former_member557985
Participant
0 Kudos

Hello Team,

I have developed a Cross tab report for P/L Branch-wise.

I want to get insert a formula in Cross tab like P/L which will display the difference between Total Revenue - Total Expenses.

How to do it? New to cross tab report...

I have inserted the screenshot . how the report looks like...

abhilash_kumar
Active Contributor
0 Kudos

Hi Deepak,

Are these two separate crosstabs?

Do you want the difference to appear at the end of the second crosstab?

-Abhilash

former_member557985
Participant
0 Kudos

Yes..They are two cross tabs..

Yes..i want to display the difference at the end of the second cross tab...

I was able to bring the total in separate cross tab like this to display the total Revenue & total Expenses:

Is it possible to subtract both the values to get the output below each column.

This cross tab is placed in the Report footer.

former_member557985
Participant
0 Kudos

This is the Cross Tab

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor

You should be able to do this with an Embedded Summary.

While in the preview mode, right-click one of the "expenses" summary value > Embedded summary > Insert embedded summary.

Right-click one of the cells labelled "Edit this formula" > Embedded summary > Edit calculation formula > type this code:

GridValueAt(CurrentrowIndex, CurrentSummaryIndex, 0) - GridValueAt(CurrentrowIndex, CurrentSummaryIndex, 1)

-Abhilash

former_member557985
Participant
0 Kudos

Is it possible to contact you through Email?

Still I didnt get the desired output..

abhilash_kumar
Active Contributor
0 Kudos

Could you please explain or post screenshots of what the issue is?

-Abhilash

former_member557985
Participant
0 Kudos

Using the below Formula, I was able to get my desired Output:

if CurrentColumnIndex = 0 then GridValueAt(0,0,0)+GridValueat(0,0,1) else

Answers (0)