Combobox based on a lookup field - how to appear another columns - combobox

I have an issue on a combobox on PowerApp based on a lookup field. In access, it is something more than easy but in PowerApp it seems like going to the moon...
I have a List A in which one of the columns (TblA_ColumnA) is a lookup fields based on List B. On sharepoint List definition setup, the lookup fields shows TblB_ColumnA.
In the table B, I have others columns.
When I create the form, for this specific fields, I see on the combobox the value indicated into tblB_ColumnA.
I want to see others columns of List B and not this one. For exemple the Column B of List B.
-Actual DataCard:
Default= ThisItem.TblA_ColumnA Update= DataCarValue64.Selected
-Actual Combobox
Items= Choices([#ListA].TblA_ColumnA) DisplayFields= ["Value"] DefaultSelectedItems=Parent.Default.
Please help me.
Thanks,
BR,
Damien
I tried to change the item putting a filter on List B but nothing works;

Related

Google Sheets: VLOOKUP and Transcribing data based on multiple categories in the same column

I'm trying to use vlookup between two tabs in a sheet where the data that exists in a single column denoted by "type" (tab B) needs to be transcribed into separate columns by type (tab A).
Edit:
For example, tab B has the "raw" data listed in just three columns: the type, the ID, and the value.
I would want tab A to be able to pull from tab B but organize it by the ID, then by the value associated with the type following it.
So, tab A would vlookup according to the ID, and then pull the associated value according to the column name (type): aaaaaa, bbbbbbb, ccccccc
Column Headers would be: ID, aaaaaa, bbbbbbb, ccccccc
and then the associated data will be filled out according to the ID and type match
I've only done vlookup where the filter is by what exists on tab A to trigger what to pull in tab B
=if((F236="aaa",VLOOKUP(A236, "TabName!$A$4:$AC"),24,FALSE), if(F236="bbb",VLOOKUP(A236,"TabName!"),24,FALSE))
I've attached a sample of how the two tabs have been set up for reference! Thank you!
sample sheet
try:
=QUERY('sample database (tab b)'!A2:C,
"select B,max(C)
where B is not null
group by B
pivot A
label B'ID'")

Google Sheets: Trying to get values for Data in a column and row

Not sure I was able to explain myself too well in the title so here it goes:
I have been trying to figure this one out using the Filter function, but I am unable to make it work, and I am sure there must be an easy way to do it. The idea is that I have a column with the names of the members of a team, and each team member needs to perform a number of actions in a set of tasks. I am counting the amount of actions performed by each team member on each task, and trying to filter those by team member and by task.
So it goes like this: I have a list of names in column B. The number of actions in column C and the task would be selected from a dropdown menu done with 'Data validation'. When I select the task from my drop down menu, the number of actions would change to reflect the actions performed per agent on the selected task.
I added an example too. In the example I filtered the data in sheet 'Data' by names, but I don't know how to add a criteria that would also filter by the tasks on row 1 in the sheet 'Data', or if it is even possible.
Example: https://docs.google.com/spreadsheets/d/1PcdwNHDagfSmtF2Hl27YnrsAsPsF3A5OLuo2YcqGFdk/edit#gid=0
Thanks!
try:
=ARRAYFORMULA(IFNA(VLOOKUP(B2:B&C1,
SPLIT(FLATTEN(Data!A2:A&Data!B1:E1&"×"&Data!B2:E), "×"), 2, 0)))

Is it possible to nest values based on key column in AppSheet?

I have a table connected to AppSheet that has a column called "Names" there are many values that have the same name with different information. Is there anyway in AppSheet to have the user tap on one name and have all of the values show up that have the same Customer name. Essentially grouping.
I know there is a community on Google Plus for AppSheet but it doesn't seem very active my question has been sitting on the site for weeks. If anyone needs more clarification please ask.
Not very clear what you are trying to achieve, but you can correct me if I'm wrong.
You want in the Inline view of any given Customer, to have a list of referenced values.
You can do this with a SELECT() function. In Data > Columns > + "Virtual column"
In the "App formula" input add your function.
For example: SELECT( myTable[myColumn], [Name] = [_THISROW].[Name])
What this does:
List all values from column named "myColumn" in table "myTable"
where "Name" has the same "Name" as this row,
https://help.appsheet.com/expressions/functions/select
If you want to list not only values but a list of referenced rows from another table, you should use REF_ROWS.
For example REF_ROWS("myOrdersTable", "orderCustomer")
What this does: list all rows from table named "myOrdersTable" where column named "orderCustomer" has the same value as the unique KEY of this row.
REF_ROW virtual columns are generated automatically when you give a "REF" type to any column. In this example if you go to Data > Columns > "myOrdersTable" and change the type of "orderCustomer" to "REF" with "ReferencedTableName" to "myCustumerTable", a virtual column with list of referenced rows will be generated in "myCustumerTable" table after you save.
https://help.appsheet.com/data/references/references-between-tables

Google Sheet Index?

I have a dropdown list on Google Sheets, column A. Depending on what option is selected, I need column B to show the associated value. I tried using the INDEX functions but I am not sure I get it on how to use it, as to me is the same as using "=" to a specific cell. Basically I need to associate values:
COLUMNS:
A B
ORANGES = VERY GOOD
APPLES = yuck!
BANANAS = NICE!
So if on column A, "APPLES" was selected from the dropdown list, the column B should show the associated value for that option ("yuck!").
I actually found a solution, using Nested IF'S,
=IF(A1="ORANGES","VERY GOOD",IF(A1="APPLES","YUCK!",IF(A1="BANANAS","NICE!")))
add as many if statements as needed

(VB2010 and ms Access) creating the query using INNERJOIN, select a field, and put the result as Display Member of combobox

before asking i wanna to show my tables and their relationships(created with ms access 2007)
here is the schema :
https://plus.google.com/photos/113802558354450440804/albums/5988059068393888337/5988059068667446962?banner=pwa&pid=5988059068667446962&oid=113802558354450440804
in this case, i create 3 combo boxes in VB2010 :
cbx_major(binded to MAJOR table)|major_id as the VALUE MEMBER, major_name as DISPLAY MEMBER
cbx_student(binded to STUDENT table)|student_id as the VALUE MEMBER, student_name as DISPLAY MEMBER
cbx_course( this is the question )
And here is the scenario :
first, i must choose what major is at cbx_major
second, the cbx_student will instruct the STUDENT table to select the student_name where major is equal to the selected value of cbx_major and set that query result as the DISPLAY MEMBER of cbx_student(this is done succesfuly without writing any code )
(this is the question)then the last, i want to set the cbx_course to display the course_name where student_id is equal to cbx_student.
i have done a lot of effort to do this :
i opened the combobox tasks menu and choose the student_course table and trying to create the query but it results "the schema returned by the new query differs from the base query"
i created the query in access by Joinning the table STUDENT_COURSE and COURSE using INNER JOIN then i bind the cbx_course to that query but it results wrong display.
i opened the xsd file then i create the query there but results wrong result
all those effort does not work.
i want to solve this case without writing code but using a technique such setting the taskbar menu, is it possible ? any idea? thanks so much for the attention

Resources