Thank you for clarifying, @WarrenBelz . I feel that I am nearly there with your assistance! This has been EXTREMELY helpful.
Currently, I have the dropdown working with populating the BrowseGallery. On selecting a new item, the gallery then knows to update the dataset based on the DropDown.Selected.Value - but it is only working about 80%.
I populated the Dropdown with ["Australia","China","US"] - then changed the DataSource for both the Gallery and the DetailForm to reflect on the dropdown selection.
They look like the following:
DetailForm -
DataSource
Switch(
Dropdown1.Selected.Value,
"Australia",TableAU,
"China",TableCN,
"US",TableUS)
BrowseGallery -
Data
Switch(
Dropdown1.Selected.Value,
"Australia",SortByColumns(Search([@TableAU],
TextSearchBox1.Text,"SKU","Description","HTS_x0020_US"), "Description", If(SortDescending1, Descending, Ascending)),
"China",SortByColumns(Search([@TableCN],
TextSearchBox1.Text,"SKU","Description","HTS_x0020_US"), "Description",
If(SortDescending1, Descending, Ascending)),
"US",SortByColumns(Search([@TableUS], TextSearchBox1.Text,"SKU","Description","HTS_x0020_US"), "Description", If(SortDescending1, Descending, Ascending))
)
I am able to switch the tables based on my DropDown and populate each data card on the browse gallery but when I click on a specific entry and view the detailed view, I am missing some values to call upon for display. It appears to be the same issue on the primary gallery screen.
I have 7 columns in my table that are as follows:
SKU - integer
Description - string
Market - string
HTS US - float
Market HTS - float
Duty Rate - input in excel as a string I would assume (i.e. 5% would be the input for one of the cells)
Notes - string
The 5 items in bold are available when setting the default values for my DataCards (ThisItem.Notes for example) - but two of these values are not populating or being recognized. The Duty Rate and Market (Columns F and C respectively). I would possibly understand why they would be left out if they were toward the end of the entire table but they are mixed in with the other data that is being received successfully.
Have I done something wrong to pull my data in during the switch?