Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Community,
Please can you assist i am trying to subtract two dates from two different tables which have a many to one relationship
I have tried using RELATE but i think cause of the one to many relation that does not work
basically trying to subtract the min date for each account by all the dates for that account to get the days
days
thanks in advance
-- If you have a 1:many rel between -- min_date and requests, then this -- will work [Days Since First Date] = -- calculated column in requests var __thisDate = requests[Created Time] var __firstDate = RELATED( min_date[First Date] ) return __thisDate - __firstDate
Please note that such calculations should be performed in Power Query, not in DAX.
Best
Darek
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
19 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
43 | |
19 | |
18 |