The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi, I am trying to find the difference between two dates in days. Why am i getting two different values?
the first picture is the calculated column .
the second picture is the custom column in PQ editor which uses duration.days
Solved! Go to Solution.
@KV2022 , Please use Truncated Date
In Power Query
DateTime.Date([Start Date])
and In Dax
DateValue([Start Date])
Use these two in formula and check
@KV2022 , Please use Truncated Date
In Power Query
DateTime.Date([Start Date])
and In Dax
DateValue([Start Date])
Use these two in formula and check
I used DateTime.Date in the custom column. thanks
User | Count |
---|---|
70 | |
67 | |
63 | |
50 | |
28 |
User | Count |
---|---|
113 | |
78 | |
64 | |
55 | |
44 |