I am learning Tableau Public. Using version 2020.02.02 MAC version MWE ; Trying to create a new Calculated Field.
use Samplestore dataset.
In Data Source, drag the Orders table to Canvas.
In Workspace, drag Profit dimension to Columns Shelf, and Categories measure to Rows shelf.
In Data Pane, right click > Create > Calculated Field.
In text field input 'PositiveProfit'.
In text Area input expression:
IF [Profit] > 0 THEN 1 ELSE 0 END
I expect when profit is greater than 0, the value of this new calculated field should be 1. right? Well I am getting something else. for example for Profit 18,451, PositiveProfit is 1,374.
What is the secret behind this? Any tutorials that explain?



