I have a report in CRM that is used to run on one record at a time and involves 2 entities in the data retrieval. I am trying to get SSRS Cascading Parameters to work and am having difficulties achieving this. I have a 1:N relationship between the 2 entities involved in this report. For example purposes, Entity # 1 is the 1 in the relationship and Entity #2 is the many.
The report is run on the Entity # 1 record and what I want to happen is for the GUID that this report runs on (GUID of Entity # 1 record) to then help in filtering the 2nd SSRS report parameter, so the 2nd parameter will show a list of the Entity # 2 records that are tied to the entity # 1 record. Then I should be able to run the report from the selected value in Parameter 2 so the report will only show the data from the record selected in parameter 2 relating to Entity # 2 data and obviously entity 1 data would show as well. Thoughts? By the way I have VS 2012 so no fetch xml used in my report authoring from Visual Studio. Just using SQL. What am I doing wrong here? The issue is the fact that I'm running this on one record. I know how to utilize cascade parameters using a report that isn't run on one record at a time in CRM, just having trouble translating to the one record scenario in run time.
I forgot to add that I need the Entity 1 GUID value (Parameter 1) to default when the report is run to the current record in context, so the user only has to select a value from Parameter 2 that is already filtered at report run time. Is there another way to accomplish this other than 2 parameters?