I have a table and want to display some infos (fields). For example "JobNr", "ReflexNr", "Projektname".
But if I insert a Combobox, I cant select the fields. I can only see 2 fields ("Projektname", " Statusänderungsgrund"). I also want that these fields are all searchable.
Where can I get the other fields?
If I manually change the values "SearchFields" and "DisplayFields", I can display (just only 1 other field), but i cant search for values. Very strange...
Can you help me please?
Hi @jup ,
Could you tell me the data type of the fields that disappear in the selection?
Not all the data type can be directly chosen in combo box.
Some special data type need specific formula to display in combo box.
If you want to search for values in combo box, you need to trun this toggle on.
Community Support Team _ Phoebe Liu
Hi @v-yutliu-msft ,
Field types are:
I only see the varchar fields in the menu ?!
But after a few tests this:
But it behaves buggy. I cant realy explain but if I played around with "DisplayFields" I there was sometimes a vlue from a field (?) can't explain it ... Maybe really buggy?
I dont know how to realize to display:
1. different fields in the dropdown (maybe more than 3 text lines - is it possible and how?)
2. searchable over 2 fields (or more if its possible?)
It seems that it's only possible to use varchar for display+search within a combobox.
If found this post that descibes to create a sql server view to convert (cast) the numeric fields as varchar for example.
SELECT Cast(jobnr AS CHAR(50)) AS JobNr, Cast(reflexnr AS CHAR(50)) AS ReflexNr, Cast(von AS CHAR(50)) AS Von, Cast(bis AS CHAR(50)) AS Bis, Cast(status AS CHAR(50)) AS Status, projektname, statusaenderungsgrund FROM dbo.tprojekte
I did it and take a look... I am able to use the other fields for display information now 🙂 :
I used the same formula for the values "DisplayFields" and "Searchfields":
If I'm searching for a "Projektname" - it works fine!
BUT: If I'm searching for a "ReflexNr" - it works not / nothing to find
Can you help me please?
Is it possible to use more than the given teamplates for comboboxes (1 Line Text; 2 Lines Text; 1 Pic+2 Lines Text)? For example: DisplayFields = ["Projektname";"ReflexNr"; "Von"; "Bis" ... ]
Thanks in advance
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.