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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RichardT_78
Helper I
Helper I

Elapsed Days

 

Hi I am new to power BI 

 

I have created a flow to update a power BI dataset and then created a report from it.

All has worked well. 

 

My time stamp is  shown as: 03/27/20 12:33:46 PM from the microsoft form.

I need to create a todays date to calculate the days elapsed since a responce was last recorded..

 

Looking at DATEDIFF etc it should be reasonabley easy, but i cant use power bi desktop to make a custom table as its greyed out.

greyed out.PNG

 

Table on my report below which needs a third colume with the days elapsed

Capture1.PNG

 Do i need to sperate the time as the mark as date table is all greyed out as well?

Is there a visual that already exsists for this task?

condtional formating maybe one to highlight x amount of days as bands but i cant in the current format.

 

Any help would be much appricated. 

 

Richard 

 

 

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @RichardT_78 

 

You can create a measure like 

 

Measure = DATEDIFF( SELECTEDVALUE( table[column] ), TODAY() or NOW(), DAY )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @RichardT_78 

 

You can create a measure like 

 

Measure = DATEDIFF( SELECTEDVALUE( table[column] ), TODAY() or NOW(), DAY )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Perfect and very simple thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.