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.
Hello,
I need to replicate a function 360DAYS from Excel.
What function should I use in PBI (preffered in Power Query) to receive values from column DAYS?
Solved! Go to Solution.
Hi, @AnetaK
In Power Query, you may create a custom column with the following codes. The pbix file is attached in the end.
=Duration.Days([End]-[Start])
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @AnetaK
In Power Query, you may create a custom column with the following codes. The pbix file is attached in the end.
=Duration.Days([End]-[Start])
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @AnetaK ,
You cna have a look at this blog
https://community.powerbi.com/t5/Quick-Measures-Gallery/DAYS360/m-p/1062952
and For Days
You can create a Calculated Column
Dayss =
DATEDIFF (
'Table'[Start],
'Table'[End],
DAY
)
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution
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 |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |