This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi Team and Community Expert's,
I have one date column in my power bi, i have to add 10 days on that column and store value in new column.
Description/Example:-
| Date | Desired Output |
| 04 April 2022 | 14 April 2022 |
| 08 May 2021 | 18 May 2021 |
| 09 November 2022 | 19 November 2022 |
| 10 June 2022 | 20 June 2022 |
How To Acheive This By Using DAX? I Tried
Desired_Output = Tablename[Column_Name] + 10 (Not Work)
Solved! Go to Solution.
So you are creating a new calculated column. Did you try
Desired_Output = Tablename[Column_Name] +10
Hello @tamerj1 Sir,
Thanks For Your Sharing.
Sir As Per Your Answer I Have To Create A Calculated Column, Is It Not Possible To Do It Using Measure?
Note: Sir I Am New In Power BI, So Your Explanation Helps Me.
@it_akasjraj
It depends on how your visual look like. In general you may try
Desired_Output = DATEADD ( MAX ( Tablename[Column_Name] ), +10, DAY)
Hi @it_akasjraj
It should if you are creating a calculated column not a measure.
However, you can also try
Desired_Output = DATEADD ( Tablename[Column_Name], +10, DAY)
@tamerj1 Please Find The Screenshot Of Dataset, There Is A Posting Date Column, And My Requirement Is To Make One More Column Beside Positng Date, The Value In New Column Will Be Posting Date + 10 Days...
So you are creating a new calculated column. Did you try
Desired_Output = Tablename[Column_Name] +10
@it_akasjraj
You used the code that is for a calculated column. Please see below screenshot.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |