Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to insert hyperlinks conditionally in reporting tools

jrsmith20
5 - Atom

I have a workflow that develops a list of records with a field that has URLs for about 90% of the records. For the remaining 10% of records, that field's value is "N/A". Is it possible to create a hyperlink for only those values in the URL field that aren't N/A using the Reporting Tool?

 

One caveat: my data is already sorted in the way I need it to be, so I'd prefer to not use an approach where I use a filter step, then add the hyperlink where the value isn't N/A and then a join.

 

Example with a desired output column shown:

jrsmith20_0-1653051251424.png

 

Thank you in advance for any help!

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @jrsmith20,

I may be missing something but would a formula like this not work?

IraWatt_0-1653051825470.png

 

jrsmith20
5 - Atom

That formula isn't giving me a working hyperlink once I put it in a table and rende?r it. Am I missing something

IraWatt
17 - Castor
17 - Castor

hey @jrsmith20, Looking at your output the IF statement should be something like this

IF [Link] = "N/A" THEN [Link] ELSE "<Link "+[Record ID:A]+"|"+[URL:A]+">" ENDIF

please send a screen shot if you encounter a error

Labels
Top Solution Authors