We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I want to calculate days between "DesignStartdate" and "datesentforreview"
I have created a relationship and still unable to derive the number of days required between dates.
Solved! Go to Solution.
Thanks for your insight, bhanu_gautam.
@Fphizal , if you want to calculate days between "DesignStartdate" and "datesentforreview", you need to make sure there's a valid relationship.
In this case, the relationship is one-to-one, and the number of days can be successfully calculated. Create a measure to return days.
Measure = DATEDIFF(MAX('Artwork Tracker'[DesignStartdate]),MAX('Review List'[datesentforreview]),DAY)
If the relationship is a one-to-many pair, the number of days can also be successfully calculated.
If the above requirements do not meet you, please provide more details. It's a good idea to provide some simple sample data and the desired results, as I did.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your insight, bhanu_gautam.
@Fphizal , if you want to calculate days between "DesignStartdate" and "datesentforreview", you need to make sure there's a valid relationship.
In this case, the relationship is one-to-one, and the number of days can be successfully calculated. Create a measure to return days.
Measure = DATEDIFF(MAX('Artwork Tracker'[DesignStartdate]),MAX('Review List'[datesentforreview]),DAY)
If the relationship is a one-to-many pair, the number of days can also be successfully calculated.
If the above requirements do not meet you, please provide more details. It's a good idea to provide some simple sample data and the desired results, as I did.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Fphizal ,
Create a new calculated column by going to modelling tab and click on new column
Proud to be a Super User! |
|
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |