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.
SOLVED

Split and Format Wrap Text

GayatriPanigrahi
8 - Asteroid

Hi All,

 

I have below dataset and trying to color code "Tagged" text available in column [Name Tag] using Report Text tool.

Below formulas i used but nothing worked 

 

Dataset :

IDNameTagName Tag
1234• ABC : XYZ : ETC
• ABC : XYZ : PQR
Tagged• ABC : XYZ : ETC - Tagged
• ABC : XYZ : PQR - Tagged

 

Option1 : Report Text 
[Name :A] [Tag]


Option2 : Report Text
[Name Tag :A] Right([Name], 7)

9 REPLIES 9
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

How about using Table tool?

 

Table Tool Configuration

1281167_1.png

1281167_2.png

 

Output

1281167_3.png

GayatriPanigrahi
8 - Asteroid

@Yoshiro_Fujimori I am trying to achieve below output 
• ABC : XYZ : ETC - Tagged  --> Highlight and color code the "Tagged" word
• ABC : XYZ : PQR - Tagged --> Highlight and color code the "Tagged" word

 

The end result i need to send over an email. Hence i used a Report Text to format the email but can't perform a conditional formatting.  

Raj
16 - Nebula

@GayatriPanigrahi 
are you looking to achieve output this way
find the workflow attached.

mark done if solved.

GayatriPanigrahi
8 - Asteroid

@Raj  @Yoshiro_Fujimori  Expecting output as below

Alteryx_ReportText.JPG

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @GayatriPanigrahi ,

 

Could you clarify how the input dataset is structured?

Dataset :

IDNameTagName Tag
1234• ABC : XYZ : ETC
• ABC : XYZ : PQR
Tagged• ABC : XYZ : ETC - Tagged
• ABC : XYZ : PQR - Tagged

 

Does the above represent one row ([Name] column contains a new line character?)

or two rows like below?

IDNameTagName Tag
1234• ABC : XYZ : ETCTagged• ABC : XYZ : ETC - Tagged
1234• ABC : XYZ : PQRTagged• ABC : XYZ : PQR - Tagged

 

 

Raj
16 - Nebula

@GayatriPanigrahi 
is your requirement something like this.
find the workflow attached.

GayatriPanigrahi
8 - Asteroid

Hi @Yoshiro_Fujimori, Data is available in one row only and i am getting result as below image. However expecting "Tagged" should come after each sentence.

 

Alteryx_Data.JPG

 

Excepted Output :

Output.JPG

GayatriPanigrahi
8 - Asteroid

@Raj Data should be in one row only, however the solution you provided has 2row.

 Unfortunately can't share the Alteryx workflow but you can refer the my 1st post for dataset.

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Your data is not a normalized form, which makes it difficult to deal with.

I would recommend you to review your data format for the future.

 

That said, to add "Tagged" for each line, you have to convert each line to a row.

If you want combine the rows back to one line, use Summarize tool.

 

Workflow

1282515_Workflow.png

 

Output

1282515_Output.png

 

You can join the above output back to the original table with "ID" as a key.

Labels
Top Solution Authors