Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Experts could you please shed some light on this please
setup the default value for a below PRODUCT field in script level.
example:
I am loading list of 3 columns from spread sheet, I would like to setup a default name COUNTRY = 'USA' in my country column for Laptops only
I've all list of countries but want to set to COUNTRY = 'USA' for 'Laptops'
PRODUCT | COUNTRY | AMOUNT |
Mobiles | CHINA | 3045 |
Laptops | UK | 3456 |
Desktops | JAPAN | 1012 |
IPADs | USA | 9834 |
Laptops | France | 3462 |
Laptops | India | 3423 |
Use a calculated dimension for your country field in a chart e.g.
=if(PRODUCT = 'Laptops','USA', COUNTRY)
Andy
HI Pranu,
can you expand a little on what you actually mean by 'default value'?
Andy
I've a list box name called 'PRODUCT' I got 3 types of products
when I select Laptops I should only get USA, even though I got data like China, UK, Inida... all converted to USA,
Original Data:
PRODUCT | COUNTRY | AMOUNT |
Mobiles | CHINA | 3045 |
Laptops | UK | 3456 |
Desktops | JAPAN | 1012 |
IPADs | USA | 9834 |
Laptops | France | 3462 |
Laptops | India | 3423 |
Front end result should look like below
PRODUCT | COUNTRY | AMOUNT |
Mobiles | CHINA | 3045 |
Laptops | USA | 3456 |
Desktops | JAPAN | 1012 |
IPADs | USA | 9834 |
Laptops | USA | 3462 Hope |
Laptops | USA | 3423 |
Use a calculated dimension for your country field in a chart e.g.
=if(PRODUCT = 'Laptops','USA', COUNTRY)
Andy
Glad to be able to help!
Really appreciated your prompt reply.