Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I want to raise a number to the power of the difference between two dates. All of my value columns are formatted as decimal number, and the difference between the dates is around 4, but I am getting this error when I try to make a Calculated column
"An argument of function 'POWER' has the wrong data type or the result is too large or too small."
Hi @heardm,
Based on my test in desktop version 2.47.4766.801 64-bit (June 2017), we can create a calculated column like below:
Column = POWER(DATEDIFF('Table2'[StartDate],'Table2'[EndDate],DAY),2)
Both [StartDate] and [EndDate] columns are date type.
In your scenario, please run the same desktop version and create the same calculated column like us.
Besides, please go through the DATEDIFF() and POWER() functions carefully.
Best Regards,
Qiuyun Yu
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 54 | |
| 44 | |
| 42 | |
| 39 | |
| 36 |