KNOWLEDGE BASE

Expected Integer but Found Number Message is Displayed in Tableau Prep


Published: 11 Dec 2018
Last Modified Date: 11 Dec 2018

Issue

When writing a logic calculation in Tableau Prep, the following message is displayed in the calculation window:

"Expected Integer but Found Number"

Environment

Tableau Prep 2018.3.1

Resolution

When writing a case or logic statement, ensure that the output of all values have the same datatype.

Cause

The output value of one line of a logical statement has a different data type than the other lines.
Did this article resolve the issue?