We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Dynamic Filter

Padashwi
6 - Meteoroid

Hi All, I'm looking for a solution where i can perform dynamic filter.

Case : I have list of codes , based on the codes the data should be filtered dynamically, also the data should be divided into different sheets based on the filtered code. These codes may change in future , hence looking for dynamic filter. Please suggest

9 REPLIES 9
IraWatt
17 - Castor
17 - Castor

Hey @Padashwi,

I've attached an example macro which achieves this:

IraWatt_0-1654884584551.pngIraWatt_1-1654884593251.png

 

Any questions or issues please ask :)
HTH!
Ira

Padashwi
6 - Meteoroid

@IraWattplease provide me the yxmd format workflow.

IraWatt
17 - Castor
17 - Castor

You will need to correct the file locations in the yxmd and yxmc files, I've attached them

Padashwi
6 - Meteoroid

@IraWatti'm facing an error , attached the error page for your reference. Please suggest

IraWatt
17 - Castor
17 - Castor

@Padashwi This error is due to this:

IraWatt_0-1654885939762.png

you need to pass the codes to the macro

 

Padashwi
6 - Meteoroid

@IraWattThis is working Perfectly ! But, we need the output in different tabs of a single file , instead of different sheets. i have attached the sample output for your reference.

IraWatt
17 - Castor
17 - Castor

@Padashwi The output on my PC is identical to your desired file. This may be because you need to click this action tool and only update the sheet part of the address like in the screenshot below

IraWatt_0-1654887385239.png

 

Padashwi
6 - Meteoroid

Hi , As instructed below, i find it is helpful. I'm getting appropriate results. But i'm unable to save the workflow in the Alteryx server and i'm unable to get the output as there are no output anchors. I'm sharing the snip of the workflow. Please advise.

IraWatt
17 - Castor
17 - Castor

Hey @Padashwi, to add an output anchor just use the macro output tool:

IraWatt_0-1655248439684.png

What issue are you encountering on the server?

 

Labels
Top Solution Authors