Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Add a calculated member with a custom formula

$
0
0

Capture.JPG

I am trying to add a calculated member 'Sunday Differential' and it would replicate the 'Regular' hours only on a Sunday in the "Sunday Differential" row. But somehow it is populating for all the days as shown.

 

The calculated formula I put in is

 

if {@Day} = "Sun"

then

GridValueAt(GetRowPathIndexOf({@TRC}), CurrentColumnIndex, CurrentSummaryIndex)

else

0

 

Would appreciate any guidance here. Thanks!


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>