Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am pretty new to PowerBI
I am trying to do a DateDiff between two tables (OnboardingExcel which has unique records and TroubleTicket which has multiple records related to one ONboardingExcel record). I have poked around on the forums and amelessly tried a couple solutions, but keep running into errors.
DATEDIFF('OnboardingExcel'[StartDate],'TroubleTicket'[Created_Date],DAY)
Error: A single value for column 'Created_Date' in table 'TroubleTicket' cannot be determined...
Days Past Start = IF(SUM(OnboardingExcel[StartDate])>SUM(TroubleTicket[Created_Date]),
DATEDIFF(SUM(TroubleTicket[Created_Date]),SUM(OnboardingExcel[StartDate]),DAY)*0,
DATEDIFF(SUM('OnboardingExcel'[StartDate]),SUM('TroubleTicket'[Created_Date]),DAY))
Error:Getting An invalid numeric representation of a date value was encountered.
Help is greatly appreciated!
Please try the DAX below.
Days Past Start = 1*(SUM(TroubleTicket[Created_Date])-SUM(OnboardingExcel[StartDate]))
Regards,
Charlie Liao
I get a massive number 88309227309 and it is the same for every row.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.