Hi,
I've been working at this for a while now, and need some help.
I have a Sharepoint list with 4 columns - 'Business Unit', GeoMarket, 'Supported Countries' and 'Service Base'.
'Business Unit' is a choice field.
GeoMarket is a choice field.
'Support Countries' is a multiple choice field.
'Service Base' is a text field.
I need to have a drop down for selecting 'Business Unit'.
Then there is a drop down for GeoMarket, which is filtered by the selected 'Business Unit'
Then there is a drop down for Country which should list the countries in 'Supported Countries' for the selected GeoMarket.
Then there is a drop down for 'Service Base' which needs to have a list of all the 'Service Bases' that serve the selected Country.
I fill the 'Business Unit' dropdown with:
Ungroup(
Table(
{businessUnitOptions: Table({businessUnitValue: Blank()})},
{businessUnitOptions: Sort(Distinct('Surface Service Facilities',BU.Value),Result,Ascending)}
),"businessUnitOptions")
Then, the GeoMarket drop down is populated with:
Ungroup(
Table(
{geoMarketOptions: Table({geoMarketValue: Blank()})},
{geoMarketOptions: Sort(Distinct(Filter('Surface Service Facilities',BU.Value=drpBU.Selected.Result),GeoMarket.Value),Result,Ascending)}
),"geoMarketOptions")
I now don't know how to populate the Country drop down with a list of the 'Supported Countries' for the selected GeoMarket.
And also the 'Service Base' drop down with list of the 'Service Base's for the selected Country.
Please help.
Pete