Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (17.6k points)

I was wondering what is the difference between the IF statement vs the IIF() function in Tableau. And then I found this page, which explained the syntax difference.

Difference between iif and if

But someone (over a seminar) also told me that IIF() has better performance. Is that true?

1 Answer

0 votes
by (22.5k points)
edited by

IF Function:

IF(Condition, "truevalue", IIF(Condition,"truevalue","falsevalue"))

if it see NULL it will return a False Value

IIF(Condition, "truevalue", IIF(Condition,"truevalue","falsevalue"), "no value")

if it sees NULL it will return no value

Get indepth knowledge about this field through Tableau Certification Course by Intellipaat.

Also, do have a look at our YouTube video to help you get started with tableau training.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Oct 7, 2019 in SQL by Tech4ever (20.3k points)
0 votes
1 answer
asked Jul 13, 2019 in SQL by Tech4ever (20.3k points)

Browse Categories

...