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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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