Forum Discussion
ROUND & SUM issue
ankitpatira : good idea, thanks, I'll try that !
Eric_Zhang : I took the exact same SQL query and apply those modifications on the query editor :
Added Customer --> = Table.AddColumn(#"Changed Type", "TTC", each [prixnet]+[taxe])
Extracted Year --> = Table.TransformColumns(#"Added Custom",{{"datecreation", Date.Year}})
Removed Columns --> = Table.RemoveColumns( lots of columns here ^^)
Grouped Rows --> = Table.Group(#"Removed Columns", {"datecreation"}, {{"SUM_TTC", each List.Sum([TTC]), type number}})
Hi,
Just a quick update, I did as ankitpatira suggest. I found discrepancy for all months. I export all data for January: same number of rows, same value... except Power BI does not bother to stored useless decimal "0" :
Left SSMS export - Right PowerBI export
So I tried to change the data type in PowerBI : from Decimal Number (Auto) to Fixed Decimal Number (6), still the same wrong amount.
- Anonymous9 years agoNot applicable
So I focused on 1 day only and voila :
Left SSMS - right Power BI
Not cool, from 50.4 million to 51.2 million :-(
- Eric_Zhang9 years agoMicrosoft Employee
Anonymous
Could you export the SSMS output for year 2015 into an excel and share it? I'll try to load it into my database and play it with Power BI desktop.
- Anonymous9 years agoNot applicable
Hi Eric_Zhang, thanks for your help !
you'll find an Excel & CSV file here :