Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I have a problem with my table, for some reason Power query keeps on rounding my numbers.
as you see i have the number 3437.50 and when i open the editor it round up to 3438.00
does anybody know why ? 😄
Solved! Go to Solution.
Your problem is that in your 2nd line of code, you set that column to an Intger type: "{"Indtægt #(lf)Kredit ", Int64.Type}". In a subsequent line, you set it to Currency.Type, but at that point it is too late. Either omit or change the data type for that column in your 2nd line.
Can you please copy and paste the complete query from formula bar which is shown in the picture?
= Table.TransformColumnTypes(#"Omdøbte kolonner",{{"Betalt dato", type date}, {"Indsat Debet1", Currency.Type}, {"Hævet kredit1", Currency.Type}, {"Indtægt #(lf)Kredit ", Currency.Type}})
Hope that will help 😄
Thanks. This didn't help, in fact. Can you please post your complete query from Advanced Editor (or at least from beginning till the above statement)?
Hope its not to big a problem that som of it is in danish.
Kilde = Excel.CurrentWorkbook(){[Name="Tabel5"]}[Content],
#"Ændret type" = Table.TransformColumnTypes(Kilde,{{"Faktura dato:", type datetime}, {"Forfalden dato:", type datetime}, {"Salg af ydelser #(lf)eller Vidersalg", type text}, {"Kategori", type text}, {"Beskrivelse ", type text}, {"Indtægt #(lf)Kredit ", Int64.Type}, {"Udgift #(lf)Debet ", Int64.Type}, {"Faktura #(lf) Nr. ", Int64.Type}, {"Betalt dato", type any}}),
#"Omdøbte kolonner" = Table.RenameColumns(#"Ændret type",{{"Indsat Debet", "Indsat Debet1"}, {"Hævet kredit", "Hævet kredit1"}}),
#"Ændret type1" = Table.TransformColumnTypes(#"Omdøbte kolonner",{{"Betalt dato", type date}, {"Indsat Debet1", Currency.Type}, {"Hævet kredit1", Currency.Type}, {"Indtægt #(lf)Kredit ", Currency.Type}})
in
Your problem is that in your 2nd line of code, you set that column to an Intger type: "{"Indtægt #(lf)Kredit ", Int64.Type}". In a subsequent line, you set it to Currency.Type, but at that point it is too late. Either omit or change the data type for that column in your 2nd line.
Thank you so mutch, that help a lot 😄
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |