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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon โ€“ Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save โ‚ฌ200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.