Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro multiple exclude values

Hello

Can someone help me to create a macro that will exclude from a field those 3 values

AMS Dealer

EMEA Dealer

APJ Dealer

in this field there is 100 other customer name

thanks

Franck

1 Solution

Accepted Solutions
marcus_sommer

I suggest to replace/remove those field-values within the script maybe within an extra field like [Customer Name for Export] and to use this within your exporting-task.

- Marcus

View solution in original post

6 Replies
Anil_Babu_Samineni

Why do you need Macros, Macros not good at all. If you want forcibly then you may go ahead. But, I won't recommend you to do

You can achieve by help of Button with search sting

1) Create button and give Title and then create actions

     - Select in Field {FieldName and Search String like below -- ("AMS Dealer"|"EMEA Dealer"|"APJ Dealer")}

2) Select Excluded {Give FieldName}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

HI Thanks

I need to make a macro to paste a lot of graph to an excel, I must change the values in the field using macro

marcus_sommer

I suggest to replace/remove those field-values within the script maybe within an extra field like [Customer Name for Export] and to use this within your exporting-task.

- Marcus

Not applicable
Author

HI

thanks but I don't understand how I can do this and than run it in the macro?

Not applicable
Author

I didn't make this report

but the field that choosing dealer or normal customer is like this

=IF(MarketingCustomerName='AMS Dealer' OR MarketingCustomerName='APJ Dealer' OR MarketingCustomerName= 'EMEA Dealer' , 'Dealers', 'Customers')

This is what you mean?

How I can select only Dealer for this field?

Not applicable
Author

Hello

I get it thanks a lot