Select all option in paramaters

Hi,

I have created a parameter ’ Subscriber’ based on a field called ‘Sub flag’ .
Sub flag has 2 values : Store purchaser, Subscriber purchaser.
image

If the user select subscriber, it should show all rows with sub flag ‘Subscriber purchaser.’
and if user select subsctiber , it should all rows with sub flag ‘Store purchaser’.
If user selects select all, it should all rows .

This is the calculated fiield for showing the users,. if the customer purchases within purchase start and ourchase end and if the subscriber flag matches the parameter, it should show user id.

Converted customers :
ifelse(
{Time_to_Purchase} >= ${Purchasestart} and {Time_to_Purchase} <=${Purchaseend} and {Sub_flag} = ${Subscriber},userID,NULL).

The issue if if i am selecting ‘Select all from the drop down’, it shows 0 records.
It shows records if I am selecting store purchaser or subscriber purchaser

image

Assuming ‘Converted’ is some kind of seller code and not the count of ‘UserID’, and your ifelse statement is for the converted_sub, can you post screenshots of what the output is when you select either ‘store purchaser’ or ‘subscriber purchaser’. Like to see if single or multiple UserIDs are displayed per ‘Converted’ before seeing what’s happening with select all. Thanks!

Hi

converted is the number of user IDs converted without the sub flag

Converted sub is the number of user IDs with the sub flag parameter.

Converted_sub = ifelse(
{Time_to_Purchase} >= ${Purchasestart} and {Time_to_Purchase} <=${Purchaseend} and {Sub_flag} = ${Subscriber},userID,NULL).

If I am selecting store purchasers :-

image

If I am selecting subscriber purchasers :-

image

Hi @liya101

I think equal operator on the Sub_Flag column in the calculated field may not work in the Select All case. See the documentation from QuickSight.

I suggest you use a Sub_Flag condition from the calculation field, apply it as a filter and show the Converted and Converted_Sub as two separate visuals. That is an option.

Hi @liya101,
It’s been awhile since we last heard from you. Did you have any additional questions regarding your initial topic?

If we do not hear back within the next 3 business days, I’ll go ahead and close out this topic.

Thank you!

Hi @liya101,
Since we haven’t heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.

Thank you!