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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi All,
I am connecting my data to power bi with amazon redshift (DirectQuery). Can I create new column ? I tried creating new column mentioned below:
Column C = sum (Column A) / sum (Column B)
However, it gives me an error 'sum is not a function'. Is there a way to fix this? Thanks.
Solved! Go to Solution.
You will need to create a Measure not a calculated column as you are using aggregate functions.
Check this out - https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
You will need to create a Measure not a calculated column as you are using aggregate functions.
Check this out - https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 11 | |
| 11 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 29 | |
| 20 |