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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with expressio...
Power Automate
Answered

Problem with expression in Power Automate

(1) ShareShare
ReportReport
Posted on by 12
I am trying to write an action “Query a dataset” and add the following the query: 
EVALUATE ROW('TimeStamp', CALCULATE(MAX('RefreshTable'[RefreshTime])))
 
However, I keep getting "This expression has a problem". When I run the same in DAX studio the output is as expected.
 
I am a complete Novice in power automate, any help will be really great.
 
Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
     
    You should write expression simmilar to shown below
     
     
    The reason why you got error is because u have written under expression section.
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    You can simplify the query like so:

    EVALUATE {MAXX('RefreshTable',[RefreshTime])}
     
    Note that the RefreshTime is largely meaningless. Power BI will happily refresh your old stale data over and over again.  Instead, find a date from your fact table that better indicates freshness.
  • SK-24060311-0 Profile Picture
    12 on at
     
    Please ignore my previous comment. I combined your solution and the one recommended by @lbendlin. With both my flow is now running fine.
     
    Thanks both for your help

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard