Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Dynamic pop up warning

Hi All,

I have a report which is updated every day however there are times when there is no updates.
I have a last refreshed card on the report however users would like something more clear to highlight when the report has not ben updated.

Is there a way to link the pop up to the last refresh date so it dynamically pops up if there is no refresh for today? 

for example if the last refresh date is 18/07/2022 then the report today would show a pop up saying no update 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. In Power Query – Home – New Source – Blank Query.

vyangliumsft_0-1658479562207.png

2. Click on the newly formed Query – Home – Advanced Editor.

vyangliumsft_1-1658479562210.png

3. Enter the following code into it.

let
Source = #table(type table[Date Last Refreshed=datetime], {{DateTime.LocalNow()}})
in
Source

Result:

Get the last refresh time:

vyangliumsft_2-1658479562213.png

4. Create measure.

Measure =
IF(
  YEAR( MAX('Query1'[Date Last Refreshed]))=YEAR(TODAY())&&
  MONTH(MAX('Query1'[Date Last Refreshed]))=MONTH(TODAY())&&
  DAY(MAX('Query1'[Date Last Refreshed]))=DAY(TODAY()),"Update","No Update")

5. Result:

vyangliumsft_3-1658479562215.png

If you need pbix, please click here.

 

Best Regards,

Liu Yang

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

3 REPLIES 3
Anonymous
Not applicable

Hi  @Anonymous ,

Here are the steps you can follow:

1. In Power Query – Home – New Source – Blank Query.

vyangliumsft_0-1658479562207.png

2. Click on the newly formed Query – Home – Advanced Editor.

vyangliumsft_1-1658479562210.png

3. Enter the following code into it.

let
Source = #table(type table[Date Last Refreshed=datetime], {{DateTime.LocalNow()}})
in
Source

Result:

Get the last refresh time:

vyangliumsft_2-1658479562213.png

4. Create measure.

Measure =
IF(
  YEAR( MAX('Query1'[Date Last Refreshed]))=YEAR(TODAY())&&
  MONTH(MAX('Query1'[Date Last Refreshed]))=MONTH(TODAY())&&
  DAY(MAX('Query1'[Date Last Refreshed]))=DAY(TODAY()),"Update","No Update")

5. Result:

vyangliumsft_3-1658479562215.png

If you need pbix, please click here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

mh2587
Super User
Super User

Update Pop up = IF([last refresh date]=TODAY(),"","Not Updated"&

"⚠"

)


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



VahidDM
Super User
Super User

Hi @Anonymous 

 

Create a measure like this:
Update Measure = if([last refresh date]=Today(),"Updated","Not Updated")

 

and use this measure in a card visual.

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors