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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
bartbouwman
Frequent Visitor

Text Message between times

Hello,

 

Is it possible to put a message on your dashboard that is only there between a specifice time.

 

For example message: "Dashboard is not up-to-date between 07:00 and 12:00"

 

After this time, the message is gone and will be there in the morning again.

 

Thanks

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi @bartbouwman,

 

I think your best option will be to have card visual displaying your message. 

 

You can use a measure like this to toggle whether the message should be shown or not:

Measure message =
VAR _now =
    TIME ( HOUR ( NOW () ); MINUTE ( NOW () ); SECOND ( NOW () ) )
RETURN
    IF (
        _now >= TIME ( 7; 0; 0 )
            && _now <= TIME ( 12; 0; 0 );
        "Not up to date";
        ""
    )

When the report is viewed outside the period 7:00 to 12:00, no value will be displayed in the card visual. 

 

You can also make use of the conditional formatting of the card background to create emphasis on the card visual in the hours where it is not up to date. You will need an additional measure for this though, as the formatting rules don't work with text values. Just use the code of the measure above and change "not up to date" and "" to 1 and 0, respectively.

Cheers,
Sturla

View solution in original post

2 REPLIES 2
sturlaws
Resident Rockstar
Resident Rockstar

Hi @bartbouwman,

 

I think your best option will be to have card visual displaying your message. 

 

You can use a measure like this to toggle whether the message should be shown or not:

Measure message =
VAR _now =
    TIME ( HOUR ( NOW () ); MINUTE ( NOW () ); SECOND ( NOW () ) )
RETURN
    IF (
        _now >= TIME ( 7; 0; 0 )
            && _now <= TIME ( 12; 0; 0 );
        "Not up to date";
        ""
    )

When the report is viewed outside the period 7:00 to 12:00, no value will be displayed in the card visual. 

 

You can also make use of the conditional formatting of the card background to create emphasis on the card visual in the hours where it is not up to date. You will need an additional measure for this though, as the formatting rules don't work with text values. Just use the code of the measure above and change "not up to date" and "" to 1 and 0, respectively.

Cheers,
Sturla

That you very much!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.