If statement producing DAX Comparison error

WxShady13

Board Regular
Joined
Jul 24, 2018
Messages
185
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I am attempting to use the below measure to compare a concatenated column. When I get the 1, 2, 3, 4 then I can use another measure to accurately determine Employee TO %. The formula worked fine when it was just comparing FT or PT, however now that it is comparing FT2021, FT2022, etc. it is giving me the Dax Comparison Operations do not support comparing values. The concatenated column is text exactly like the FT/PT column so I am not sure what is causing the error.



1643036279918.png
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
You've put an = instead of a comma in the section for 3:

IF(Prototype[Concat FTPT and Year] = "PT2021" = 3,

should be:

IF(Prototype[Concat FTPT and Year] = "PT2021", 3,
 
Upvote 0
Solution

Forum statistics

Threads
1,225,491
Messages
6,185,298
Members
453,286
Latest member
JCM

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top