Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir,
I have a field shipping charge,when i am using it in rdlc (Report Definition),it's find sum(shippingcharge),i want to find only shipping charge not the sum.

When i have three record in tablix in rdlc and suppose shipping charge is 30 then it's calculate 90 ,since there is three record.

I want to display 30 for all three record not 90.

slno totalprice
1 1200
2 2600
3 1700
--------------------
shipping charge should be 30 not 90i.e sum(shippingcharge)

hope you are getting me?

What I have tried:

C#
=(Fields!SHIPPING_CHG.Value, "DS_Invoice")

It throws an error
The Value expression for the textrun ‘SHIPPING_CHG.Paragraphs[0].TextRuns[0]’ contains an error: [BC30198] ')' expected.

Please help me to resolve this.
Posted
Updated 25-May-17 20:20pm
v3
Comments
Maciej Los 25-May-17 9:38am    
Sorry, but your question is unclear... Does the values are displayed or not?
Have you tried to use: =CDbl(Fields!SHIPPING_CHG.Value)?
priyanka456 26-May-17 1:08am    
Thanks,it helped me a lot

1 solution

Note: Posted to remove above question from unanswered list.

Maciej Los wrote:

Sorry, but your question is unclear... Does the values are displayed or not?
Have you tried to use: =CDbl(Fields!SHIPPING_CHG.Value)?
priyanka456 wrote:

Thanks,it helped me a lot
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900