Forum Discussion
Convert if statement to value
- 4 years ago
Hi Anonymous ,
Please try the following formula:
2G_5RDC-TA = SUMX ( SUMMARIZE ( Load_data_merged, Load_data_merged[Load number], "result", IF ( "5RDC" IN VALUES ( Load_data_merged[Sufix_template.FDP] ), IF ( "TA" IN VALUES ( Load_data_merged[Sufix_template.FDP] ), 1, "" ) ) ), [result] )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
It's a total issue, very common. See this link to find out why it's wrong and how to fix it:
https://www.vahiddm.com/post/why-my-measure-returns-the-wrong-total
You can change "" to blank() in your formula.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/