ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!

Need advice for how to create the user configuration for a custom python macro

7 - Meteor

I have created a macro (using Python) to create a crosstab table (report object) with multi-level attributes on the columns and/or rows as well as multiple metrics.  What I am struggling with is how to create the configuration options that will do two things:


1.  If the user selects a dataset column for presentation on the rows, i want it to unselect the dataset columns that is selected for the rows (mutually exclusive).  How would I go about implementing that action.


2.  When the user is selecting the metric(s), they can also choose the aggregation function.  I was thinking of an interface like the summarize tool.


What is the best way to approach this?  Anyone have something built that I can modify?