web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / if expression in Micro...
Power Automate
Answered

if expression in Microsoft flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to write the correct expression? 

if(body('forecast_for_today')?['responses']?['daily']?['day']?['windDir']) >1, 'goggle day')
 
 
Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous 

    Hi there!  I'm not great with expressions, but I did notice that you're looking for the Wind Direction and not the speed.  Is that intentional?

    I tried to do the same thing with conditions.  Let me know if that suits your scenario... (I used Max Wind Speed)

    20190621b.PNG

     

    -Ed-

     

     

    If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @edgonzales  I want to use this expression 

    if(body('forecast_for_today')?['responses']?['daily']?['day']?['windSpd'])
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    Please use the expression

    if(greater(body('Get_forecast_for_today')?['responses']?['daily']?['day']?['windSpd'],1),'Goggle','noGoggle')

    First value 'Goggle' is the expression is true and 'noGoggle' if the expression is false. 

     

    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!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard