cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jup
Helper II
Helper II

Combobox - Missing fields

Hi all,

 

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?

 

thanks,

jup

3 REPLIES 3
v-yutliu-msft
Community Support
Community Support

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.716.PNG

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yutliu-msft ,

 

Field types are:

1.PNG

I only see the varchar fields in the menu ?!

But after a few tests this:

2.PNG

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?)

 

thanks,

jup

Hi all!

 

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.

 

My view:

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 🙂 :

 

1.PNG

 

1. PROBLEM: 

I used the same formula for the values "DisplayFields" and "Searchfields":

["Projektname";"ReflexNr"]

 

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?

 

2. QUESTION: 

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

jup

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,908)