Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Output Message when input has no records

EJ_Alt
7 - Meteor

Hi Alteryx family,

 

Need some help here

 

How can I create a formula that can output a message when the a tool produces no records e.g. see captions, the input too has 4 records. What if the input tool is blank, no records just the header (team, score and player)? I want the formula to output a message saying, “there are no teams”.  

 

Thanks

EJ

 

 

Workflow is this

 

EJ_Alt_0-1601738780466.png

 

 

Input tool

 

EJ_Alt_1-1601738780471.png

 

 

Formula Tool is

 

EJ_Alt_2-1601738780474.png

 

 

Output

 

EJ_Alt_3-1601738780476.png

 

 

 

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @EJ_Alt ,

 

You can use count record to count the number of records.

 

https://help.alteryx.com/current/designer/count-records-tool

 

Hope this was helpful

 

If this post helps you please mark it as solution. And give a like if you dont mind😀👍

 

Let me try to prep a workflow

atcodedog05
22 - Nova
22 - Nova

Hi @EJ_Alt ,

 

This is an interesting scenario.

 

Here is a workflow for the task.

 

Scenario - 1

Input:

atcodedog05_0-1601739633050.png

Output:

atcodedog05_1-1601739698772.png

Scenario - 2

Input:

input.PNG

Output:

output.PNG

Workflow:

workflow.PNG

 

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind😀👍

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@EJ_Alt  ,

 

Use a MESSAGE tool!

 

https://help.alteryx.com/current/designer/message-tool 

 

you can warn, error or even stop the workflow. 

 

cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
EJ_Alt
7 - Meteor

Thanks for you help

atcodedog05
22 - Nova
22 - Nova

Hi @EJ_Alt 

 

Intresting scenario you proposed there.

 

Happy to help 🙂

 

Cheers and Happy Analysing 😀

Labels