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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I Tried to write below simple syntax but somehow i am not getting Table.Profie field for writing this syntax. Here i have attached PBIX file, Please help me here to find where went wrong
DIVIDE(Table.Profie, Table.Revenue)
Solved! Go to Solution.
HI @srini_vasan ,
If you are doing a measure you need to aggregations on your calculation you can do one of two approachs:
Create metrics for Profit, Revenue and the Division
Profit = SUM('Table'[Profit])
Revenue = SUM('Table'[Revenue])
Measure = DIVIDE([Profit], [Revenue])
Create a single metric
Measure = DIVIDE(SUM('Table'[Profit]), SUM('Table'[Revenue]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks for the reply from MFelix , please allow me to provide another insight:
Hi @srini_vasan ,
I can't open your PBIX, presenting the following message, you can put the error message in the form of a picture:
IFERROR function to catch function error information, if the expression result is correct then return value, if not then return a customized value, you can follow the link below to see the information about IFERROR function, check if it is in DirectQuery mode or the parameters inside the IFERROR function must be the same data type.
IFERROR function (DAX) - DAX | Microsoft Learn
Appropriate use of error functions in DAX - DAX | Microsoft Learn
Calculater Column:
Profit Margin = IFERROR([Profit] / [Sales], 999)
Measure:
Profit Margin_measure = IFERROR(MAX('Table'[Profit]) / MAX('Table'[Sales]), 999)
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI @srini_vasan ,
If you are doing a measure you need to aggregations on your calculation you can do one of two approachs:
Create metrics for Profit, Revenue and the Division
Profit = SUM('Table'[Profit])
Revenue = SUM('Table'[Revenue])
Measure = DIVIDE([Profit], [Revenue])
Create a single metric
Measure = DIVIDE(SUM('Table'[Profit]), SUM('Table'[Revenue]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsDon'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 |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |