Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zjpxF4YS59bi4YQj+OfQ6V
Power Apps - Building Power Apps
Answered

How can I multiply 2 DataCardVallues

Like (1) ShareShare
ReportReport
Posted on 19 Aug 2022 08:54:49 by 15

Hi all,

 

I want to multiply two DataCardValues and show the result in a third DataCardValue:

 

DataCardValue25 contains a currency value and DataCardValue19 contains a normal number.

How can I multiply these two in my DataCardValue26?

 

Thanks in advance

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 31 Aug 2022 at 08:28:39
    Re: How can I multiply 2 DataCardVallues

    Hi @Mehl,

    Here is a tip for you, please translate the error message in English next time. Thanks for your cooperation.

    Could you please show me how you format the text into currency, show me the Default property of the data card value?

     

    You mean you want to do calculation between a currency value and number value, right?

    Firstly, you should format your currency into number value, then calculate with these two number values.

     

    Just modify your formula as below:

    Value(DataCardValue25.Text)*Value(DataCardValue19.Text)
  • Mehl Profile Picture
    15 on 24 Aug 2022 at 11:54:45
    Re: How can I multiply 2 DataCardVallues

    Good morning,

     

    here's my problem.

     

    Thanks!

  • ciaran3001 Profile Picture
    33 on 22 Aug 2022 at 08:33:35
    Re: How can I multiply 2 DataCardVallues

    Good Morning! 

    Yep it should work with a currency field also: 

    ciaran3001_0-1661157195833.png

     

    Perhaps if you post some screenshots from your app/formula I'll be able to spot the problem from here! 🙂

  • Mehl Profile Picture
    15 on 22 Aug 2022 at 07:46:47
    Re: How can I multiply 2 DataCardVallues

    Hello ciaran3001,

     

    does that also fit for having one data card value that contains a currency and the other contains a simple number?

    Because in this case I can't multiply them.

  • ciaran3001 Profile Picture
    33 on 19 Aug 2022 at 09:00:33
    Re: How can I multiply 2 DataCardVallues

    Hey there! 

     

    In each data card you will see a "datacardvalue_X" component. 

     

    If you access the relevant datacardvalues for the required fields, and use the * operator, they will multiply for you. 

    Example:

    ciaran3001_0-1660899663858.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 14

#2
LC-26081402-0 Profile Picture

LC-26081402-0 10

#3
stampcoin Profile Picture

stampcoin 6

Overall leaderboard