Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i had a requirement where i need to show the namecolumn of table EMP(has 10 rows) if col1 is greater than col 2, and have to display the names in a textbox with count of rows ,can i do that usning an expression in SSRS ,can someone please help me out thanks
Posted
Updated 6-Apr-11 6:29am
v2

1 solution

I guess so, Yes.

Your question/scenario is not too clear yet:
In the table data row, write an expression something like:
VB
=iif(Field!Col1.Value > Field!Col2.Value, "Some Text:" & Field!ColName.Value, "Some other value")
 
Share this answer
 
Comments
makwith9789 6-Apr-11 15:06pm    
like i have 3 column brokername,commission,fees what i need to do here is i have to take the name of broker who has max commission,and commission >fees i have to show that broker name in a textbox or in the table footer, is it possible to get it i am using a list here as i have aroud 80 rows and have t display 10 rows each page with a broker name details in the footer of all 8 pages let me know if u are not clear
Sandeep Mewara 6-Apr-11 15:23pm    
It's really difficult to explain or do it here for you. I gave a sample way to do it. Try out.

You have added a new thing now: "Footer display" which would be a little complex but anything is doable as custom codes are allowed. I would suggest you to move stepwise.

P.S.: Next time, please do write full question.
Sandeep Mewara 6-Apr-11 15:24pm    
And yes, for customcode thing: You can look at this article if needed:
http://www.codeproject.com/KB/reporting-services/SSRSReportLocalized.aspx

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