Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Community, I am encountering an unexpected outcome while utilizing a DAX query to perform calculations within a detail table. As illustrated in the attached image, the current DAX query is producing incorrect results. I kindly request assistance from the community in identifying and rectifying this issue.
Solved! Go to Solution.
Hi @Shashi_Kant82 ,
Please Use the Dax Statement Below
SUM(Orders[Profit])/SUM(Orders[Sales])
I hope the provided solution works for you
If I have resolved your question, please consider marking my post as a solution. Thank you!
A kudos is always appreciated—it helps acknowledge the effort and keeps the community thriving.
Try this measure:
DIVIDE(SUM(Orders[Profit]),SUM(Orders[Sales]))
or
SUMX(Orders,SUM(Orders[Profit])/SUM(Orders[Sales]))
Try this in measure :
SUMX(Orders,Orders[Profit]/SUM(Orders[Sales])
Hi @Shashi_Kant82, Please try below measure
Profit Ratio =
DIVIDE(
SUM(Orders[Profit]),
SUM(Orders[Sales])
)
Hi @Shashi_Kant82 ,
Please Use the Dax Statement Below
SUM(Orders[Profit])/SUM(Orders[Sales])
I hope the provided solution works for you
If I have resolved your question, please consider marking my post as a solution. Thank you!
A kudos is always appreciated—it helps acknowledge the effort and keeps the community thriving.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |