Forum Discussion
DAX expression. HELP
- Anonymous2 years ago
Hi Inti,
Sounds like you want to add days to a specified date. For this purpose you could use the 'DATEADD' function.
To help you, I'm making these assumptions:
1) "tb1" is a column in the format dd-mm-yyy.
2) "ppc" is an integer, representating a number of days.3) The result is a new column, which adds the value of "ppc" to the corresponding date in "tb1"
In the table containing your "tb1" column, create a new column in the "Home" tab. The formula for this new column would be:
newcolumn = DATEADD('Tablename'[tb1], [ppc], DAY)Hopefully this solves your question. Please mark this answer as a solution if it does!
Hi Inti,
Sounds like you want to add days to a specified date. For this purpose you could use the 'DATEADD' function.
To help you, I'm making these assumptions:
1) "tb1" is a column in the format dd-mm-yyy.
2) "ppc" is an integer, representating a number of days.
3) The result is a new column, which adds the value of "ppc" to the corresponding date in "tb1"
In the table containing your "tb1" column, create a new column in the "Home" tab. The formula for this new column would be:
newcolumn = DATEADD('Tablename'[tb1], [ppc], DAY)
Hopefully this solves your question. Please mark this answer as a solution if it does!