cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Unte
Advocate II
Advocate II

Math function to sum or multiply values?

Is there a way to take math actions on output values?

 

 Screenshot_2.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Unte
Advocate II
Advocate II

Found it!

 

Screenshot_1.png

 

It's possible to use https://msdn.microsoft.com/en-us/library/azure/mt643789.aspx functions

Just needed quotes to make it work!

 

View solution in original post

9 REPLIES 9
Unte
Advocate II
Advocate II

Found it!

 

Screenshot_1.png

 

It's possible to use https://msdn.microsoft.com/en-us/library/azure/mt643789.aspx functions

Just needed quotes to make it work!

 

View solution in original post

@Stephen and Microsoft Flow team

Are wdl expressions inside Compose action block officially supported?

If so, these are really good news!

 

Yes, tested yesterday and it worked fine.

 

But got another issue updating it, as you can set "Copmose" once and using in loop as i++ will not work 😞

Tried myself and it doesn't work at all. When I put it in quotes it just fails

afernando
Kudo Kingpin
Kudo Kingpin

@Unte,

 

Can you please tell us how you added the multiple action? I managed to add a Scope but I can't seem to find Hop and Multiply options.

 

Thanks in advance. 

https://docs.microsoft.com/en-us/rest/api/logic/definition-language

 

Use WDL as JSON value in Compose element, that's it.

 

"@function(parameters('Hello'))"

 

And you can use this compose element as "@outputs('Compose_name')"

@Unte legend!

Hi @Unte,

 

I'm trying to divide column 1 by column 2. So I added the 2 inputs as in the picture below but I can only add the output right above. flow1.JPG

Any thoughts how can I achieve this? Thanks! 

 

@afernando

 

"@div(outputs('Duration'),outputs('Cartons'))"

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,033)