Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I wanna bring my decimal values as it is to powe bi.
Excel Data: Filed(Data type: Number)
In Power Query: I selected the data type as decimal number. but, still it's rounding the values.
Please, help me to resolve this issue.
Solved! Go to Solution.
Hi @Anonymous ,
Rounding is present in this step.
Refer the following output:
And you could choose the below one:
After change to this ,when you import:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @Anonymous ,
Rounding is present in this step.
Refer the following output:
And you could choose the below one:
After change to this ,when you import:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
If you edit the code, you can remove this part from the #"Changed Type" line
{"O", Int64.Type},
can you post the Advanced Editor code please?
let
Source = Excel.Workbook(File.Contents("C:\Users\ANAMALA RAGHU\Desktop\Pravalika Assignments\PK vs CSK (1).xlsx"), null, true),
Bowler_Sheet = Source{[Item="Bowler",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Bowler_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Player", type text}, {"Team", type text}, {"O", Int64.Type}, {"M", Int64.Type}, {"R", Int64.Type}, {"W", Int64.Type}, {"NB", Int64.Type}, {"WD", Int64.Type}, {"Column9", type any}}),
#"Removed Columns" = Table.RemoveColumns(#"Changed Type",{"Column9"}),
#"Changed Type1" = Table.TransformColumnTypes(#"Removed Columns",{{"O", type number}})
in
#"Changed Type1"
User | Count |
---|---|
82 | |
78 | |
67 | |
46 | |
45 |
User | Count |
---|---|
105 | |
44 | |
39 | |
39 | |
39 |