Best Answer · By JanBask Tableau Expert
Answered on Dec 11, 2019
Yes, we can use both dimensions as well as major in the calculated field. For example, if you have to create a calculated field on the Profit to check if the order has been profitable or not, then you can use the profit measure in the calculated field and write the code accordingly.
If sum(profit)
Else ‘profitable’
End