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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
SelflearningBi
Helper III
Helper III

how to build relationship between two date from two different tables and calculate the diff

SelflearningBi_0-1656523316185.png

 

I would like to place these two dates ( yellow) in the matrix table and also calcualte the date difference. and also put SKU, SALES MEETING, AND SUPPLIER NAME(pink) from the master table in the matric table in the visual as well. Once I put the date in, it shows no relationship between these two dates and it turns into can't display this visual  Please help. very apprecaited and thanks so much !!

 

2 REPLIES 2
Anonymous
Not applicable

Hi @SelflearningBi 

You have to delete the relationship on table with report date and calander and create relationship with the master table based on related ID fileds to use the datediff fucntion.

SelflearningBi_0-1656524147586.png

 

Hi thank you for helping, did you meant I have to delate the relationship for calander and connect signle ID from a dimension table? but still doesnt work, I still cant put these two dates into one table. please see my screeshot 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors