Can Alteryx create a string of texts and numbers into a sentence?
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
yzhang
7 - Meteor
‎04-26-2021
02:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
Does Alteryx have a function to construct sentences like in Excel? mixing numbers in the data set?
for example the below:
= "Month on month change of $"&'data tab'X6:X6'&"due to a surge in sales..."
Labels:
- Labels:
- Text Mining
2 REPLIES 2
Alteryx
‎04-26-2021
02:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yep! You may want to look at the report text tool in the reporting category https://help.alteryx.com/current/designer/report-text-tool
Alternatively, you could construct a string with a formula tool where any numeric field you just wrap with ToString([Field]) and then use a plus to combine them.
jrgo
14 - Magnetar
‎04-26-2021
03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @yzhang
You'd use a + (plus) char to concatenate string characters. if you need to concat a numeric field, just wrap it first in a TOSTRING() function.
'Month on month change of $'
+ TOSTRING([MoM_val])
+ ' due to a surge in sales...'
