How to use a IFF statement in Tableau

0 votes
I am trying to use IFF statement. So, if the condition passes, it will not alter anything but if it fails, i want it to display "null value".
Apr 5, 2018 in Tableau by GandalfDwhite
• 1,320 points
161 views

1 answer to this question.

0 votes

Use this syntax - 

IIF(([Avg_sale] > [Today]),STR([Avg_sale),"Null value")
answered Apr 5, 2018 by QueenBee
• 1,810 points

Related Questions In Tableau

0 votes
1 answer

How can I use Tableau to create a heatmap?

Step 1: Create an Excel Spreadsheet with ...READ MORE

answered Apr 2, 2018 in Tableau by Atul
• 5,530 points
669 views
0 votes
1 answer

How to group bins in a tableau histogram?

One of the simple way is by ...READ MORE

answered Apr 3, 2018 in Tableau by xyz
• 1,550 points
1,162 views
0 votes
1 answer

How to calculate the percent of records within a group in tableau?

 You can click the measure SUM(Number of Records) and ...READ MORE

answered May 8, 2018 in Tableau by Atul
• 5,530 points
221 views
0 votes
6 answers

How to use COUNTIF in Tableau?

I'll give you a brief idea on ...READ MORE

answered Dec 10, 2018 in Tableau by Haider
8,800 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
2,047 views
+1 vote
1 answer
0 votes
1 answer

Calculated filed with if-then

Below is the required code:  IF (NOT ISNULL([test2])) ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
90 views
+2 votes
1 answer
0 votes
1 answer

How should I prepare in order to get Tableau certified?

There are tonnes of video tutorials and ...READ MORE

answered May 10, 2018 in Tableau by QueenBee
• 1,810 points
25 views
0 votes
1 answer

Dropdown to change x-axis in Tableau

You need to create a  str datatype parameter ...READ MORE

answered Apr 3, 2018 in Tableau by QueenBee
• 1,810 points
58 views