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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
smjzahid
Helper V
Helper V

Dynamic Countdown Timer in Power BI

Hi

I have a Date table (see second snip below) with below shown columns. I have a requirment to show COUNTDOWN TIMER (A dynamic clock) ticking continously showing the time left for below shown reporting dates. (Consider this to be a typical Countdown Timer shown before OLYMPIC GAMES showing How many days left before the event begins in (DD/MM/YY HH:MM:SS) format.

 

How do I insert dynamic countdown timer next to (week 1,2 and 3) please

 

smjzahid_0-1618861239725.png

Here is my data table shown below. The question is how do I make this show dynamic.

 

Please note, this needs to dynamic once this report has been published to PBI Service (which works in UTC time) and I am based in the UK, so my laptop timing is GMT.

 

How do we achieve this, any help is highly appreciated

 

smjzahid_1-1618861382966.png

 

5 REPLIES 5

@smjzahid : I have a very similar requirement.  i have a table with items and expected hour of resolution for this items ( day hours and minutes domething like dd/hh/mm) . for each item i d like to calculate the remainign time between now and expected hour. Of course i'd like the report to refresh frequently so that i can see changes in the remaining time . Did you solve the issue ? could you guide/help

IDExpected hour of resolutionTime Remaining
110:25:3002:05:30 (2hours 5 min 30 sec left )
210:35:0002:10:00 ( 2 hours 10 min left)

Regards

 

v-yingjl
Community Support
Community Support

Hi @smjzahid ,

As far as I know, the countdown timer visual based on the date which entered manually and your local PC time to calculate the diff, not on the date table.

If you want to get the simliar diff from the date table, you can try to create measure like this but it could not be always dynamic.

First Diff = 
VAR _startdate =
    DATE ( 2022, 2, 4 )
VAR _date =
    MINX (
        FILTER ( 'Table', WEEKDAY ( 'Table'[Date], 2 ) = 3 && 'Table'[Week_Number] = 1 ),
        [Date]
    )
VAR _dd =
    DATEDIFF ( _date, _startdate, DAY )
VAR _hh =
    MOD ( DATEDIFF ( _date, _startdate, HOUR ), 24 )
VAR _mm =
    MOD ( DATEDIFF ( _date, _startdate, MINUTE ), 24 * 60 )
VAR _ss =
    MOD ( DATEDIFF ( _date, _startdate, SECOND ), 24 * 60 * 60 )
RETURN
    _dd & ":" & _hh & ":" & _mm & ":" & _ss

diff.png

 

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

I'm trying to do something similar, but instead of using a variable for the week(s) I need a (non-manual) countdown timer based on communications we're sending to contractors and a specific due date for them to respond. The filter would be either the communication name or the communication #. I'm using the countdown timer visual right now & would like for this to be dynamic. I attached a sample table. 

 

edhans
Super User
Super User

Consider using a visual designed for this @smjzahid - here is one. Count Down Timer (microsoft.com)

 

The only way I can think of to do this without a custom visual is to have a direct query getting time from a SQL or other relational database, then set the page refresh as low as you can, but it requires Premium to go down to 5 second intervals, including Premium Per User. Pro I think is locked to 30 seconds or higher.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

@smjzahid can you respond and let us know if one of these is the solution you needed, or post back with additional questions? Thanks.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors