# Multiple Selections in Custom Mode

**URL:** <https://pug.phocassoftware.com/t/multiple-selections-in-custom-mode/1818>\
**Category:** Ask the Community\
**Tags:** howto\
**Created:** [March 26, 2021, 3:17pm UTC](https://pug.phocassoftware.com/t/multiple-selections-in-custom-mode/1818 "2021-03-26T15:17:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnelson](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mnelson](https://pug.phocassoftware.com/u/mnelson)\
**Post date:** [March 26, 2021, 3:17pm UTC](https://pug.phocassoftware.com/t/multiple-selections-in-custom-mode/1818/1 "2021-03-26T15:17:40Z")

</div>

Is it possible to use custom mode with multiple selections (sort of like how you can have multiple filters in the advanced search?)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/phocassoftware/original/2X/5/5b3395b54f76b25330890298b9f102f7661403e6.png)

I’d like to add a selection for vendor and also for pay type, but I can only seem to do one at a time.

---

<div class="post-metadata">

**Author:** ![JonKemp](https://sea1.discourse-cdn.com/flex015/user_avatar/pug.phocassoftware.com/jonkemp/32/334_2.png) [@JonKemp](https://pug.phocassoftware.com/u/JonKemp)\
**Post date:** [March 29, 2021, 7:09am UTC](https://pug.phocassoftware.com/t/multiple-selections-in-custom-mode/1818/2 "2021-03-29T07:09:09Z")

</div>

Hi @mnelson ,

As far as I am aware, you cannot. There are two possible options you could explore:

1. Is it possible to use a filter to restrict the result set prior to custom mode? Chances are you cannot. So in that case…
2. Can you add a flag in your fact data (DB designer) to perform this operation? I have a situation where I needed two elements like yourself. I opted to perform a IF/CASE statement in the sync feed to provide a “1” or “0” at the transaction level. This then allowed me to simply filter on that flag which got around the above issue. Example:

`CASE WHEN VENDOR = 'x' AND CustomerType = 'y' THEN 1 ELSE 0 END`

By adding the above to the sync file allowed me to simply filter on a property/dimension to achieve the same result.
