Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to set Multiple Dataset fields in SSRS reporting Expressions


here My Scenario,

Avg Handle Time My Column Name appears 2 times in my report

Where I need to Display 10 and 20 respective,y from dataset 1 and dataset 2 on my expressions i got the value 10 by this expression
C#
=IIF(Sum(Fields!AI_Average_Handle_Time.Value)=0,0.00,Sum(Fields!AI_Average_Handle_Time.Value))

but i am not getting the value 20.
Itried my Expression to fetch the value 20 but it was failed...and i don't know about the 3rd parameter which need to pass

C#
=Lookup(Fields!AI_Average_Handle_Time.Value,Fields!AI_Average_Handle_Time.Value,Fields!Employee_ID.Value, "DataSet2")


Any one pls find a solution...
Posted

1 solution

both the DataSets should be in same DataSource and use lookup to Fetch values
 
Share this answer
 
Comments
sahmed3 23-Jul-14 12:47pm    
Hi Nayeem...I tried with LookUp function...not works...Could you provide me the LookUp function according to my requirement...
nayeem@codeproject 24-Jul-14 1:15am    
hiii Do 10 and 20 are Employee Id ?
nayeem@codeproject 24-Jul-14 2:03am    
and even change the dataset name
sahmed3 4-Aug-14 13:38pm    
Sorry Nayeem for late response...As my manager had got another priority project for client which i putted hold for this one..

10 & 20 are the datafield values from dataset
nayeem@codeproject 24-Jul-14 2:06am    
if both datasets are in same datasource change dataset name if u r using different data source leave if it wont work inform me

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