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.
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
Check out the May 2026 Power BI update to learn about new features.
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 |
|---|---|
| 27 | |
| 25 | |
| 22 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 50 | |
| 45 | |
| 20 | |
| 18 | |
| 18 |