이 내 코드이므로 case 문 옵션을 사용하여 ssrs에 드롭 다운 목록을 만들고 싶지만 case 문을 매개 변수화하는 방법을 모르겠습니다.SSRS - SQL에서 case 문 사용 아래 절
당신은 사용자가 지정한 기준으로 필터링 할 수 있도록하고자하는 값으로 SSRS에 매개 변수를 만들 수 있습니다 : 만약 내가 제대로 이해하고
select c.EntityID, c.FirstName, c.LastName, (case ap.PlacementVerificationMethod when 107 then 'contact center' when 1 then 'work number/3rd party verification' when 101 then 'Placement call' when 102 then 'walk in/Self report' when 103 then 'Email' when 104 then 'Employer Report' when 105 then 'In person with participant' when 106 then 'In person with employer' else 'unknown' end) as 'Placement method', wh.JobTitle, ap.PlacementDate, p.ProviderName Employer, u.UserName Placementby from AssessEmploymentPlacement ap join users u on AP.PlacementBy = U.EntityID join WorkHistory wh on WH.WorkHistoryID = AP.WorkHistoryID join client c on wh.ClientID =c.EntityID join provider p on WH.ProviderID = P.EntityID join assessment a on AP.AssessmentID = A.AssessmentID where ap.PlacementDate between @placementbegindate and @placementenddatesample table for AssessEmployementPlacement
@ChrisLätta sample table for AssessEmploymentPlacement AssessmentID client placementVerificationmethod 1234 sam null 4567 james 101 2234 don 102 5364 manny 107 6595 jon null 6598 woe 104 5496 kie 105
게재 위치 확인 방법에 대한 표가 있습니까? 매개 변수 옵션을 쿼리에 기반 할 수 있습니다. –
문제에 대해 설명하거나 샘플 데이터를 추가하고 출력을 기대할 수 있습니까? –
SSRS의 매개 변수에 대한 옵션으로 case 문에있는 값을 사용 하시겠습니까? – BishNaboB