Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.
The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

Coalesce function

A very useful and common function
https://www.w3schools.com/sql/func_sqlserver_coalesce.asp

Return the first non-null value in a list:

COALESCE(NULL, NULL, NULL, 'W3Schools.com', NULL, 'Example.com')
returns 'W3Schools.com'

It exits in SQL, Qlik Sense, etc...

Best regards,

Simon
13 Comments
kelly_gilbert
13 - Pulsar

Yes, please! Or, at least an IFNULL function (if argument 1 is null, return argument 2)

 

I find my self using IIF(ISNULL([field1]), [field2], [field1]) all of the time, so COALESCE or IFNULL would be a big time saver!

CristonS
Alteryx Alumni (Retired)

Thank you for your suggestion, @simonaubert_bd !

Matthew
11 - Bolide

a coalesce function would be so useful, i regularly need to merge columns with 6 or 7 nested ifs.. 

Thableaus
17 - Castor
17 - Castor

I'd love to see more functions like these.

Dewey
5 - Atom

Yes please this is a pretty common use case in SQL and come across it often in the course of Alteryx as well. Nested IFs can accomplish the same but it's an inelegant solution and gets very difficult to read when you get additional fields vs. the COALESCE(col1,col2,col3,...) syntax.

xx79
4 - Baryon
Status changed to: Under Review
 
Not applicable
Status changed to: Coming Soon
 
NicoleJ
Alteryx
Alteryx
Status changed to: Coming Soon

Stay tuned, coming soon to a Designer release near you! 😁

Not applicable
Status changed to: Coming Soon
 
NicoleJ
Alteryx
Alteryx
Status changed to: Implemented

Excited for the addition of the Coalesce function in 24.1 release! Check out this new function (and all the other 24.1 goodies) in our Designer release notes! Happy Alteryx-ing!