cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mae_be9292
Helper I
Helper I

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

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

@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!
v-yutliu-msft
Community Support
Community Support

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.

It try all solution and then it error appear

 

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

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,803)