Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Days between "Designstartdate" and "datesentforreview"
How do i achieve this?
Hi @Fphizal ,
Do you want to add a custom column to one table to calculate days between two date columns in two different tables?
Assuming that the REQID and RequestID columns have a one-to-one relationship, you can first establish a table relationship and then use DATEDIFF and RELATED to create the custom column.
Here is my test for your reference.
My tables.
The relationship.
The DAX.
CountDays = DATEDIFF(TableDate1[Designstartdate],RELATED(TableDate2[Datesentforreview]),DAY)
The result of my test.
Best regards,
Mengmeng Li
@Fphizal , Try creating a new measure using
Proud to be a Super User! |
|
@Fphizal , What is the relation between both tables
Proud to be a Super User! |
|
Many to many? Beginner at power bi, any advice how can i calculate the days between two diff data set.
@Fphizal , Create a new calculated column by going to modelling tab and click on new column
Proud to be a Super User! |
|
It gives me this
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.