Forum Discussion
How to make Brand recode only return 3M ?
- 4 years ago
admin11 If you want to add a new column, try this:
BRAND_F = Var _A = SUBSTITUTE( SUBSTITUTE('SALES_T'[BRAND_5], "3M","3M"), "3.0","3M") return if(_A="3M",_A,blank())output:
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/
HI admin11
It already returend 3M, can you add more details about your expected output?
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
- admin114 years agoMemorable Member
- VahidDM4 years agoSuper User
Do you want it as a column, table or measure? how do you want to use it?
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/ - VahidDM4 years agoSuper User
admin11 If you want to add a new column, try this:
BRAND_F = Var _A = SUBSTITUTE( SUBSTITUTE('SALES_T'[BRAND_5], "3M","3M"), "3.0","3M") return if(_A="3M",_A,blank())output:
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/