PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, August 9, 2022

[FIXED] How to let PowerBI read dot as decimal in csv

 August 09, 2022     decimal, powerbi     No comments   

Issue

I use R output csv file for powerbi and the decimal in the file is dot

e.g. 27.25 and the PowerBI treat this as Text rather than number. How should I fix this?

because this is .csv file, I will not able to change 27.25 to 27,25 I tried to change the 'reginal setting' to 'English''chinese''us'...not work.

any suggestion? thank you!


Solution

You can use the functionality Using Locale to transform a column to a desired region.

So, I have loaded these values as an example

enter image description here

With Using Locale, I can transform decimals on the expected locality, in this case, any country that uses dots as decimal, I will use English (United States).

Step 1

enter image description here

Step 2

enter image description here

Output

enter image description here



Answered By - Angelo Canepa
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing