Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
77 | |
63 | |
45 | |
40 | |
40 |