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

Guidance_how to get dynamic value into if() function

Hi Flow Community,

 

I am creating a flow and trying to get dynamic value (please refer to mark in red color below) into if () function. Hope can get some direction to get the value I need, thank you!

 

Here is the if () function I have:

if(equals(length(items('Apply_to_each_3')?['PPT']),0),'without presentation deck','<a href="items('Apply_to_each_3')?['PPT'])">with presentation deck</a>')
 

here is the overview of my flow:

PowerApps_Flow1.JPG

 

Sincerely,

lcy

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @lcy34,

 

Please try the following expression:

if(equals(length(items('Apply_to_each_3')?['PPT']),0),'without presentation deck',concat('<a href="',items('Apply_to_each_3')?['PPT'],'">with presentation deck</a>'))

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @lcy34,

 

Please try the following expression:

if(equals(length(items('Apply_to_each_3')?['PPT']),0),'without presentation deck',concat('<a href="',items('Apply_to_each_3')?['PPT'],'">with presentation deck</a>'))

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,900)