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

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
Alteryx

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