Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

adding special symbol in alternative rows (Expression issue)

$
0
0


I have the following final result which I need to show in the report


      Col1           FY12         FY11          Var

Total Amt         $123.13  $3628        $345

MemMonths     4356       $1264.2    $863

I have to add special symbol to alternate rows because the 2nd row is not currency format but its members in that month.

So I have used the following expression in the report

=IIf((Fields!FY12.Value)Mod 2 = 0, Fields!FY12.Value, "$" & Fields!FY12.Value)

Where its working fine , but I applied the same expression to columns FY11 and VAr ,where its not removing the $symbol(Check the bolded data in Result set).

I couldn't get what's the problem,because the expressions I applied to other 2 columns are similar to the 1st column FY12.

this is what the expresion I used for FY11

= IIf((Fields!FY11.Value)Mod 2 = 0,Fields!FY11.Value, "$" & Fields!FY11.Value)

Can someone please tell me what should I do for this issue. I spent almost 1 hr to analyze and implement. Its working fine for 1st column but facing issues with col2 and col3...:(


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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