Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Conditional link in the text reporting tools?

cgoodman3
14 - Magnetar
14 - Magnetar

Is there a way to make the text reporting tool conditional?

 

What I have is a field which for some records contains a url and for others this is blank. In the text reporting tool I have it currently configured as follows:

cgoodman3_0-1627384842060.png

However, when I export this to Excel, where there is no link the url is just 'http://' and will error when someone clicks on it. And instead I want it to be blank.

cgoodman3_1-1627384955541.png

 

I thought about writing a conditional formula after the text reporting tool

cgoodman3_2-1627385009927.png

However, as you can see it convert the output into html, which is then just treated as a string in Excel, instead of a hyperlink:

cgoodman3_3-1627385120594.png

So any suggestions on how to solve this would be greatly appreciated.

 

 

 

 

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @cgoodman3 

 

I would usually solve the issue in this way.

 

Workflow:

atcodedog05_0-1627388043530.png

 

Splitting with data and no data into separate streams using report text tool as needed and merge it back.

 

If you provide more background on the usecase we can help you better.

 

Hope this helps : )

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @cgoodman3,

 

Could you create a conditional field to set a predefined link value?

 

IF [Deeplink] = null() THEN '' ELSE 'Link' ENDIF

 

and use the field as your link text?

 

JonathanSherman_0-1627386064539.png

 

 

Kind regards,

Jonathan

cgoodman3
14 - Magnetar
14 - Magnetar

As @Jonathan-Sherman pointed out it's just a case of doing the conditional statement before the tool instead of after it.

 

Thanks @atcodedog05 for another way.

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
atcodedog05
22 - Nova
22 - Nova

_

Labels
Top Solution Authors