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

Caluculate base on dropdown list

I use this fomulate to calucate via drop down list and text input

If(
  IsBlank(ComboBox1.Selected.Option),
  Blank(),
  Value(ComboBox1.Selected.Value) * Value(TextInput1.Text)  
)

 

but it doesn't work.  It show error that the value argument.

 

My information in ComboBox1 base on Choices in Share point

5 REPLIES 5
Anonymous
Not applicable

Re: Caluculate base on dropdown list

Hi @mae_be9292,

 

Try with it please :

If(
  IsBlank(ComboBox1.SelectedText.Value),
  Blank(),
  Value(ComboBox1.SelectedText.Value) * Value(TextInput1.Text)  
)

 

Does it work for you ? 🙂

 

Best regards,

 

Louis

Dual Super User
Dual Super User

Re: Caluculate base on dropdown list

@mae_be9292 

 

I did a similar test on my side and the reason you are getting error on the Value function is because you have not selected correct attribute from the Combobox selected item.
 
As per your formula, you are using .option attribute to check but for multiplication Value attribute is used, please confirm the correct attribute name in your combobox. Considering that option is the correct attribute, Can you try to update your expression as:
 
If(
  IsBlank(ComboBox1.Selected),
  Blank(),
  Value(ComboBox1.Selected.Option) * Value(TextInput1.Text)
)
 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Community Support Team
Community Support Team

Re: Caluculate base on dropdown list

Hi @mae_be9292 ,

Try this formula:

If(
  IsBlank(ComboBox1.Selected.Option),
  Blank(),
  Value(ComboBox1.Selected.Option) * Value(TextInput1.Text)  
)

 

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.
mae_be9292
Level: Powered On

Re: Caluculate base on dropdown list

It try all solution and then it error appear

 

"Name isn't Valid.  This identifier isn't recognized."

Community Support Team
Community Support Team

Re: Caluculate base on dropdown list

Hi @mae_be9292 ,

Could you show me more details about your problem, such as screenshoots, formulas, etc?

 

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.

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,257)