I have a parameter in my analysis called taskId (not linked to any dataset). – This is getting passed in via url
I have a sql-based dataset called: testDs that looks like this: select caseid, taskId from table1 where taskId = <<$taskId>>
I mapped my analysis taskId parameter to the dataset taskId parameter
In my analysis, I wanted to add an additional CaseId Parameter linked to a drop down control, this one linked to the testDs dataset.
I was thinking that the control would show values taking my taskId parameter into account. Instead it just uses the default value for the dataset taskId parameter. If I add caseId from testDs into a visual, it shows only the relevant CaseIds but not when it’s a control. Even if I add a filter for CaseId to the visual and pin it to the top of the sheet, it still doesn’t show any values in the drop down.
Hi @evgeny55
If I got it right.
You are filtering the dataset with taskid already,right? If that’s working you should only see the caseids related to a taskid. If you are using caseid in visual or as control value should matter.
Maybe you can share some screenshots?
BR
and in the background you can see that when the control value is set to 13356, the CaseIds are filtered appropriately in the Table visual
You can also see from the above screenshot that I have a CaseId parameter. In the next screenshot, I add a Control for it and map it to the same dataset:
I’ve been playing with this more and it seems like you can’t have any filters on visuals that are sourced by a sql-based dataset with parameters. I’m able to create a table and the table itself works but if I want to be able to add a filter on one of the group by columns, it doesn’t show any values because the inner query ignores the parameter mapping.
@Kristin I may be missing some steps somewhere but otherwise it seems like a bug. Is there a process by which this get flagged to the Quicksight team. I can implement workarounds but they take time and then more time to undo. Would be helpful to have a sense of where these types of things sit in the priority
@royyung@Neeraj Can you confirm whether what @evgeny55 is referencing appears to be a bug? If so, could you tag as #bug and redirect @evgeny55 to our Customer Support?