Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I am new to PowerBI, however I have found this weird behavior in just a few of my calculated values which gives me wrong total value.
I have a measure called Royalty Amount based on this formula:
The Royalty Rate is a decimal number formatted to display four decimal places, and the column in the query is formatted identically. This precision is crucial for accurate calculation results.
However, I've noticed a discrepancy in the calculation for a specific customer, affecting certain product codes. I've attached a screenshot illustrating the miscalculation for your reference based on the formula above: Sales*Rate = Royalty Amount.
I am only getting these miscalculations for the products of one specific customer. I am not sure if it is a rounding issue but I have tried countless things and still haven't gotten to the root of the problem. If you have any advice or any guidance, I would highly appreciate it.
If you add the caclulated column to the table then sum it up, does it give you the number you are expecting?
Go to your 'InvoiceData' table and filter just to one of the customers that is giving the unexpected result. My bet is, there are one or more lines where the Royalty Rate is something other than 0.0475.
Your SUMX is the same as adding a calcualted column to the 'InvoiceData' of 'InvoiceData'[Royalty Sales] * 'InvoiceData'[Royalty Rate] then putting a SUM over that calculated column.
I followed your advise and filtered for that one customer but all Royalty Rates for that specific customer, the invoices, and the highlighted products show 0.0475. 😞
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |