ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Malformed IF Statement

xariet
8 - Asteroid

I have this formula in the multirow tool. Why am I getting error - Malformed IF statement? 

if [ASSET_STREET] = [Row+1:ASSET_STREET] and [Market Value][Row+1:Market Value] and [Subcategory]=[Row+1:Subcategory] then [Market Value] else ([Market Value]+[Row+1:Market Value]) endif

2 REPLIES 2
flying008
15 - Aurora

Hi, @xariet 

 

Try this.

 

IF [ASSET_STREET] = [Row+1:ASSET_STREET] and [Market Value] = [Row+1:Market Value] and [Subcategory] = [Row+1:Subcategory]
Then [Market Value]
Else [Market Value] + [Row+1:Market Value]
Endif

 

IF [ASSET_STREET] = [Row+1:ASSET_STREET] and [Market Value] = [Row+1:Market Value] and [Subcategory] = [Row+1:Subcategory] 
Then [Market Value] 
Else [Market Value] + [Row+1:Market Value]
Endif

 

 

xariet
8 - Asteroid

OMG! I need my glasses on, thank you!

Labels
Top Solution Authors