Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello Community,
I am trying to add an integer column and a date column (DATE_IN ) to get arrive a new column called Due Date.
Which formula can I use in Power BI?
Thanks in advance for your support!
Solved! Go to Solution.
@ss89 Just use + operator like [Date] + [Some Integer Column].
DAX Dates are decimal numbers where the integer portion is the number of days since December 30th, 1899 and the decimal portion is fractions of a day, like 1/24/60/60. So, just adding an integer to a date adds that many days to the date.
hi @ss89
As suggested by Greg, you can try to add a column like:
DueDate = [DATE_IN] + LOOKUPVALUE(...)
@ss89 Just use + operator like [Date] + [Some Integer Column].
DAX Dates are decimal numbers where the integer portion is the number of days since December 30th, 1899 and the decimal portion is fractions of a day, like 1/24/60/60. So, just adding an integer to a date adds that many days to the date.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |