Alteryx Designer Discussions

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

General Discussions has some can't miss conversations going on right now! From conversations about automation to sharing your favorite Alteryx memes, there's something for everyone. Make it part of your community routine!

SOLVED

How to include speech marks (") in Excel output

davidlhowes
6 - Meteoroid

I am trying to output a Hyperlink formula into one of the data columns of my Excel output.

 

Part of this hyperlink formula requires double quotation marks e.g.

 

"=HYPERLINK("dynamicsnav://vmnavpr01.salgrp.net:7046/DynamicsNAV90/LIVE/runpage?page=9069464&$filter='Entry%20No.'%20IS%20'7%20AND%20'Client%20No.'%20IS%20'CL000004'&mode=Edit","PF001")"

 

How can I integrate the " in the cell without Alteryx formula tool interpreting it as a break in the constructed text.

 

My formula used is:

 

"=Hyperlink(dynamicsnav://vmnavpr01.salgrp.net:7046/DynamicsNAV90/LIVE/runpage?page=9069464&$filter='Entry%20No.'%20IS%20'"
+[Entry No_]+
"%20AND%20'Client%20No.'%20IS%20'"
+[Client No_]+
"'&mode=Edit,PF001)"

 

which outputs correctly, but I miss the " before dynamics, after Edit.

 

Thanks in anticipation

atcodedog05
17 - Castor

Hi @davidlhowes 

 

Basically the idea \ hack  on how to do this warp double quotes in single quotes in double quotes.

 

For this you need split strings into part which has double quotes and part which has part single quotes. Like

" part with single quotes "  and ' part with double quotes '

 

applied on your string would look like

atcodedog05_0-1608025153311.png

Where yellow highlighted are the markers

 

Hope this helps 🙂

PraphulSamavedam
8 - Asteroid

Enclose the single quotes in double quotes and enclose the single quotes in double quotes so that they are not interpreted by Alteryx. 

In your case try this:
'=HYPERLINK("dynamicsnav://vmnavpr01.salgrp.net:7046/DynamicsNAV90/LIVE/runpage?page=9069464&$filter='+"'Entry%20No.'%20IS%20'" + toString([Entry_No]) + "%20AND%20'Client%20No.'%20IS%20'" +tostring([Client_No]) + "&mode=Edit"+'","PF001")'

Attaching zipped workflow for reference. 

I hope this shall resolve your issue. 

davidlhowes
6 - Meteoroid

Thanks for your help

atcodedog05
17 - Castor

Happy to help 🙂 @davidlhowes 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels