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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
sraj
Responsive Resident
Responsive Resident

Date difference

Hi there,

 

I am trying to calculate the date difference, from the PRT_OPEN_TASK_ADD_DT to today...even if the field is existing in the table it is not seeing it.  Can someone please advise on what I might be doing wrong here?  

 

Analytics.PNG

Capture 2.PNG

 

Capture.PNG

1 ACCEPTED SOLUTION
sraj
Responsive Resident
Responsive Resident

I found my issue, I was using a new measure option instead of a new column.  That fixed my issue, thanks for responding!!

View solution in original post

2 REPLIES 2
sraj
Responsive Resident
Responsive Resident

I found my issue, I was using a new measure option instead of a new column.  That fixed my issue, thanks for responding!!

mahoneypat
Microsoft Employee
Microsoft Employee

In a measure, you need reference an aggregation of a column, so wrap your column reference in MIN or MAX.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.