cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JonasH
Level: Powered On

Cant use Dropdown_name.Selected.Value

Hi,

I used Selected.Value to save the choosen dropdown item in a collection.

Unfortunately I can't use it for another dropdownbox and I don't know why.

Here is a Screenshot of my Code:

2019-09-18 11_30_13-ONCR - Saved (Unpublished) - PowerApps.pngThanks for you help 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Cant use Dropdown_name.Selected.Value

Hi @JonasH ,

Based on the formula you provided, I think there is something wrong with it.

 

Within your Collect formula, your should put the following formula for the FaultGroup property:

dropdown_faultgroup.Selected.CoumnName

Note: The ColumnName represents the column from your '[ONCR].[Faultgroup]' table, which you want to save its value into the collection.

 

you should put the following formula for the Fault property:

dropdown_fault_2.Selected.ColumnName1

Note: The ColumnName1 represents the column from your '[ONCR].[Fault]' table, which you want to save its value into the collection.

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 REPLIES 5
JonasH
Level: Powered On

Re: Cant use Dropdown_name.Selected.Value

BTW I'm getting the dropdowncontent from a SQL-Server.

Community Support Team
Community Support Team

Re: Cant use Dropdown_name.Selected.Value

Hi @JonasH ,

Could you please share more details about the formula you typed within the dropdown_faultgroup and dropdown_fault_2?

Do you type a Distinct(...) formula within the Items property of the dropdown_faultgroup and dropdown_fault_2?

 

If you typed a Distinct(...) formula within the dropdown_faultgroup and dropdown_fault_2, please modify your formula as below:

{
  ...
  FaultGroup: dropdown_faultgroup.Selected.Result,
  Fault: dropdown_fault_2.Selected.Result,
  ...
}

Actually, when you type the following formula within your formula box:

dropdown_faultgroup.Selected.

then the available properties would be listed under the property operator (.). Please check if the Value property could be listed under the property operator (.):1.JPG

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
JonasH
Level: Powered On

Re: Cant use Dropdown_name.Selected.Value

Hi @v-xida-msft 

I'm getting the data for the dropdown menu by using a SQL-Server:

'[ONCR].[Faultgroup]'
Filter('[ONCR].[Fault]', FaultGroupId = dropdown_faultgroup.Selected.FaultGroupId )

I think this might be the problem.

Your solution don't worked for me and the only suggestions by writing 

dropdown_faultgroup.Selected.

are columns from my SQL database.2019-09-19 10_09_36-Window.pngThe next step I try, is to get the data from a collection.

 

Best regards

Community Support Team
Community Support Team

Re: Cant use Dropdown_name.Selected.Value

Hi @JonasH ,

Based on the formula you provided, I think there is something wrong with it.

 

Within your Collect formula, your should put the following formula for the FaultGroup property:

dropdown_faultgroup.Selected.CoumnName

Note: The ColumnName represents the column from your '[ONCR].[Faultgroup]' table, which you want to save its value into the collection.

 

you should put the following formula for the Fault property:

dropdown_fault_2.Selected.ColumnName1

Note: The ColumnName1 represents the column from your '[ONCR].[Fault]' table, which you want to save its value into the collection.

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
JonasH
Level: Powered On

Re: Cant use Dropdown_name.Selected.Value

@v-xida-msft 

Thank you very much for your solution.

It worked.

 

Have a nice day

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 423 members 5,328 guests
Please welcome our newest community members: