Forum Discussion
Scarthart
3 years agoHelper I
Properly split values in Power BI
Very good days, I want to divide two columns but when checking the division in excel, I identify that power bi did the division wrong How can I divide these values correctly?
bolfri
3 years agoSolution Sage
Hi,
data that you're comparing with are different.
| Record Articulo | Source | Dispon Value | Rotation | Calculator |
| BUJA UNIVERSAL CORTA | Excel on your screen | 13425 | 355 | = 13425 / 355 = 37,8169014084507 |
| BUJA UNIVERSAL CORTA | Power BI | 134250 | 352 | = 134250 / 252 = 381,3920454545455 |
Different data = Different results 🙂
Both programs did thier job and gave correct results based on provided data.
Dispon = SUM(Hoja1[Disponibilidad])
Rotation = SUM(Hoja1[Rotación Promedio Mensual])
Share = DIVIDE([Dispon],[Rotation])
- Scarthart3 years agoHelper I
bolfri Hi,
How strange since all I did was export the data.Even so, I already discovered what is happening, is that when dividing the data accumulates and I do not want it to accumulate, I only take the value visible in the table
- bolfri3 years agoSolution Sage
Is that solved your problem or do you need a SUMX calculation (measure that performes row by row and then agregate the result)? I am sorry, but I don't understand the meaning of this columns and their business meaning.