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
mwen90
Helper III
Helper III

Date tables and subsequent columns

Hi, 


I have a table with a start date and finish date.

 

I then have a date table related to this table. It has a column with a day of the year, so a start date could be day number 450.

 

Each of these dates are categorised by a category and level. I want to calculate the first date (day number 300) minus the last date of the category (day number 350). 

I have no idea how to do this. How can I relate the day number to the start date?

 

ive tried relationships and lookupvalue with no luck,

 

Thanks so much for the help!

2 REPLIES 2
amitchandak
Super User
Super User

@mwen90 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Thanks @amitchandak  please see here, I think I summarized the issue much better! https://community.powerbi.com/t5/Desktop/Calculate-Difference-in-Column/m-p/2047145#M766090 

 

Apologies for the confusion, this issue has got me! 

 

Thanks again for the help

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.