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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
ChinoZambrano93
Regular Visitor

Difference between dates using two tables

I currently have two tables,

Catalogue of Works and Date Table

In The Work Catalog fields are the Start Date and End Date fields, these fields have an inactive relationship with the Date field in the Date Table.

I need to calculate the days between Start Date and End Date, and that these in turn are filtered depending on the context of the date table, the example shows what you want however you are not respecting the start and end dates.

ChinoZambrano93_1-1594248706603.png

ChinoZambrano93_2-1594248796028.png

Thank you very much for your time and knowledge.

5 REPLIES 5
v-deddai1-msft
Community Support
Community Support

Hi @ChinoZambrano93 ,

 

It‘s not very clear to me since your second screenshot is too small. Would you please show us some sample data and your expected output. Then we will help you well.

 

Best Regards,

Dedmon Dai

Thank you for your response @v-deddai1-msft , attached more images about visualizations, tables and model.

It's two boards,

1. Catalogue of Works, where I have the following fields: Rubro(Task), Start Date, End Date, Duration and Daily Value.
2. Date Table

Both tables are related by the Date and Start Date fields, an active one-to-many relationship.

The result I need is an array where the Rows field has the Rubro field, the columns in the Date field, and in the Value field a measure that allows me to place the daily values between the start and end dates of each item.

Please help...

ChinoZambrano93_0-1594402980293.pngChinoZambrano93_1-1594402987880.pngChinoZambrano93_2-1594402998730.pngChinoZambrano93_3-1594403004415.png

Hi @ChinoZambrano93 ,

 

Just show us some sample data and your expected output by onedrive for business. I still can't see your screenshots since they are too small.

 

Best Regards,

Dedmon Dai

@v-deddai1-msft ,

I'm sending you an example I did in excel. Maybe this will better understand my problem.

https://drive.google.com/file/d/1dm4H2rAdU1k6Ho4hAopL6t0u3NQoIHtW/view?usp=sharing

Best regards

Help, I'm still stuck with this problem

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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