In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities 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