Forum Discussion

admin11's avatar
admin11
Memorable Member
4 years ago
Solved

How to remove those row no sales amount using script ?

Hi All

 

My below script is working fine , it allow me to add in new brand :-

 

BRAND_N =
IF ( 'SALES'[BRAND_5] = Blank(),
"No Brand",if(SALES[BRAND_5] in
{"HMS","HAKKO","BECKHOFF","EMERSON","MITSUBISHI","MSA","REDLION","UNIVERSAL","GE","PROJECT","NON ","INTERNAL","MOOG","ABB","PARKER","INTERNAL ","INTERNAL ","INTERNAL ","INTERNAL ","ROBOTIQ"},
'SALES'[BRAND_5], "Other"))
 

 

My question is how to modify the above script , so that it will smart enough only display those Brand which have sales value.

 

Paul

11 Replies