Forum Discussion
Khushboo9966
2 years agoHelper II
DAX comparison operations do not support comparing values of type integer to values to type text
Hi, I created a calculated formula. _Total App = CALCULATE(COUNT('App'[Application_Status]), FILTER('App', ...
- 2 years ago
Hi Khushboo9966
It seems that the data type of App[Received_Year] is a decimal number and not a text, try to modify the formula to_Total App = CALCULATE(COUNT('App'[Application_Status]), FILTER('App',('App'[Application_Status] = "Approved" ||'App'[Application_Status] = "Cancelled" ||'App'[Application_Status] = "Withdrawn") &&'App[Received_Year] = 2024))If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Ritaf1983
2 years agoSuper User
Hi Khushboo9966
It seems that the data type of App[Received_Year] is a decimal number and not a text, try to modify the formula to
_Total App = CALCULATE(COUNT('App'[Application_Status]), FILTER('App',
('App'[Application_Status] = "Approved" ||
'App'[Application_Status] = "Cancelled" ||
'App'[Application_Status] = "Withdrawn") &&
'App[Received_Year] = 2024
)
)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly