How to use CASE WHEN to don't show the field that not match condition

Thank you very much,It works.