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

Dynamic Message

LinhNguyen
8 - Asteroid

Hi,

 

I'm trying to calculate the number of rows with input as "0" and give a message with that count (without stopping the flow).

 

I used a count tool and got the number, then put it in a message tool. The problem is that in the message expression, I can either use [count] or "zero sales" but cannot combine them to create a dynamic message such as: you have [count] rows with zero sales

 

Is there any way to do this?

 

Thank you!

2 REPLIES 2
BrianR
Alteryx Alumni (Retired)

Try wrapping a tostring around the count - such as:

 

"You have "+tostring([Count])+" rows with Zero Sales"

LinhNguyen
8 - Asteroid

Awesome! Thank you so much!!!

Labels
Top Solution Authors