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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.