Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mdurso2626
Contributor II
Contributor II

Execute a stored procedure with multiple hierarchical parameters

I need to call a stored procedure and return all rows where the stored procedure requires three input parameters: one for organization ID, one for location ID, and one for user status:

 

SQL EXECUTE [Compliance].[dbo].[UserReport]
@OrganizationId = ,
@LocationId = ,
@UserStatus = ;

 

I tried doing a nested for...next loop, but there are over a million combinations of organizations and locations, so that route just isn't feasible. Does anyone have any other ideas on how I might be able to accomplish this?

Thanks!

--Matt

0 Replies