Friday, September 18, 2015

Data type Changes when loading Power BI Data

During the data loading process, Power BI Desktop evaluates the incoming data, and then assigns what it thinks is the correct data type. And in most cases, it makes a good choice. But what if it makes the wrong choice? 

For example, what if one of the columns is a text field made up of the month and the year? Such as December, 2015. Power BI Desktop decides that this is a data field, and changes the value to 12/1/2015. Great if that is what you want.

Editing the data types


During the initial load process, one of the first screens will be the Navigator. On the bottom right, select/click on the Edit button.




This will bring up the Query Editor. The Query Editor is one of the most powerful tools available to the Power BI Desktop, Over time, you'll find this tool more and more useful. On the right side of the Query Editor, locate the Applied Steps section. For this example, the last step the query editor performed was the Change Type.



Simply right click on the Change Type item, and select Delete. Or, simply select/click on the X immediately to the left of the Change Type item. Once the change has been made, the Sales Month column is now back to the value we wanted.




While we are in the Query Editor, lets update the data type for the monetary columns. Holding the Ctrl button, select/click on the monetary columns. On the Data Type combo box, select the Fixed Decimal Number value. 



For our example, the incoming column in Excel was configured as Currency. Once we change the Data Type to Fixed Decimal Number, Power BI recognizes the columns as Currency.


  
When you are finished, select/click the Close & Load button. After loading the data, you can review using the Data Tools. The currency columns are now presented as currency values.





16 comments:

markson said...

At that point you get the chance to stress over interfaces between the instruments, reports, security (both inward and outside), and the superb, powerful, capricious, and in many cases decimation propensities for the end clients even after you've given total start to finish preparing on the new item. ExcelR Data Science Courses

meenati said...


I like your blog, I read this blog please update more content on hacking,Nice post Power BI Online Training

sia said...

Business Analytics Certification Course Overview
The Professional Certification in Business Analytics is a foundation course for students and professionals who want to develop niche data skills for their chosen industry domain or function area. Become a Business Intelligence and Data Visualisation expert and surge ahead in your career. The nine-day Business Analytics certification course covers all the essential Analytical and Statistical techniques for effective business decision making. This programme introduces the student to the basic concepts of Python language.
business analytics certification

360DigiTMG Aurangabad said...

I am really very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post. 360DigiTMG data science course in aurangabad

DataScience Specialist said...

You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site.
Data Science Course in Bangalore

Tableau Course in Raipur - 360DigiTMG said...

Amazing post found to be very impressive while going through this post. Thanks for sharing and keep posting such an informative content.

360DigiTMG Python Course

Veera Blogspot said...

Great article with very unique content.
Thank you for sharing this awesome blog.
Keep updating...

Power BI Course

360digiTMG Training said...

Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all. I suppose you will keep the quality work going on.
business analytics course

Christina Alpanda said...

Hello! Great article and thank You for Providing Such Unique and valuable information on The igmguru.com for your readers. I really appreciate it. You can also visit data science with python certification for more igmguru.com related information and knowledge.

360digiTMG Training said...


I see some amazingly important and kept up to length of your strength searching for in your on the site

Best Digital Marketing Courses in Hyderabad

Data Science in Pune said...

From this post I know that your good knowledge of the game with all the pieces has been very helpful. I inform you that this is the first place where I find problems that I look for. You have a clever but attractive way of writing.
Data Science Course in Pune

Hafsa shaikh said...

Power BI templates free download I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here.

zarkazijar said...

Skyline university post utme past questions pdf This an amazing reads, it shows that you actually know what you are talking about, thanks a lot for sharing the elucidate contents.

Anonymous said...

I am overwhelmed by your post with such a nice topic. Usually I visit your blogs and get updated through the information you include but today’s blog would be the most appreciable. Well done! data science course in surat

diploma in digital marketing malaysia said...

I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.

laxmicynixit said...

nice...............!
mulesoft training
pega training
servicenow training training