cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

How to replace request date with a variable extract from Combobox value

How to replace request date with a variable extract from Combobox value

Below code working

Sort(Filter(Install,(IsBlank('REQUEST DATE') && ProjectComboBox.Selected.Title in Project )),'Room No.',Ascending)

But once replace with a variable as below not fetching the right data as it treats variable as a value

Sort(Filter(Install,(IsBlank("'" & UpdateTypeComboBox.SelectedItem.UpdateType & "'") && ProjectComboBox.Selected.Title in Project )),'Room No.',Ascending)

Please advice

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to replace request date with a variable extract from Combobox value

Hi @tarzanking ,

Do you want to use the function of IsBlank with a dynamic field name in Combo Box?

It’s not supported to use dynamic field name in the function of IsBlank in PowerApps currently, you could only use a specific field name in it.

As an alternative way , you could try this formula:

Sort(Filter(Install,(IsBlank(

                                             If(UpdateTypeComboBox.SelectedItem.UpdateType=column name1,’column name 1’,

                                                 UpdateTypeComboBox.SelectedItem.UpdateType=column name2,’column name2’,…,….) && ProjectComboBox.Selected.Title in Project )),'Room No.',Ascending)

 

 

 

 

 

 

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.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: How to replace request date with a variable extract from Combobox value

Hi @tarzanking ,

Do you want to use the function of IsBlank with a dynamic field name in Combo Box?

It’s not supported to use dynamic field name in the function of IsBlank in PowerApps currently, you could only use a specific field name in it.

As an alternative way , you could try this formula:

Sort(Filter(Install,(IsBlank(

                                             If(UpdateTypeComboBox.SelectedItem.UpdateType=column name1,’column name 1’,

                                                 UpdateTypeComboBox.SelectedItem.UpdateType=column name2,’column name2’,…,….) && ProjectComboBox.Selected.Title in Project )),'Room No.',Ascending)

 

 

 

 

 

 

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.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,579)