90 likes | 107 Views
Loginworks provides customized dashboards for a complete view of your entire business data, departments and key performance insights. Power BI helps you to get updated with the information that is important for you. With Power BI service, dashboards help you to be aware of each functionality related to your business. We provide a comprehensive report for selected parameters like service, product category, region, data type, etc.<br><br>https://www.loginworks.com/power-bi
E N D
1.Connect to DataFor connecting the data, open your power BI Services desktop. You will see the Get Data option. Click on it. There are so many options present there. According to your need, you can select the type of file you have. Since in this document we are going to use .xlsx file so I will select excel. After selecting the file it will open a new window named Navigator. You will see that all the sheets present in this file will be shown. Either you can open all the sheets or one. It will open all the selected sheets. While selecting, it will show the preview of Data near around 10 to 15 rows. You can check whether the data is imported properly or not. You can then click on LOAD to load the data in power BI. There is one more option present Edit which will open your Power Query Editor which we will be going to discuss in details.Power Query EditorBefore loading the data, you have the option to edit the data too. Click on Edit. This will open another window in which you can perform editing in the data according to your needs. Let’s try some editing.
1. Removing columnsIf suppose you have some column which you are not going to use. You can remove them very easily. Go to that particular column right click on that. You will see options. There you will find remove the column. Click on that and the column is removed. Very simple. There is one more option present in the header to remove the columns i.e ‘Remove Column‘. Now let’s go to some other options very quicklyYou can either duplicate the column or rename it or you can replace the values too. You can change the type of data too, it means if you want floating point values and by default, it is decimal you can change it following same process clicking change type and then selecting type of data you want.One thing you should notice the editing you are doing it will show in APPLIED STEPS. If somehow you have done some mistake in editing the data you can remove the particular edited steps by clicking on Crossmark present before the name of step. To apply all the steps which you have performed you need to click close and apply can be seen on the top left corner of your desktop.Similarly, you can remove rows too by clicking on Remove Rows. After clicking you will get some options such as remove any number of rows from the top, or from the bottom. According to your needs, select the option and perform it like remove top rows option. It will ask how many rows and you then enter the number and it will be removed.
Group RowsIn query editor, you have an option GROUP BY can be easily shown in the above image. This option is used to group the values of a column present in different rows into the single value. You can group the values according to certain operations such as Count, Median, Mean, Average, Min, Max etc. Based on your requirements you can perform this step. Implementation of this step will be shown below.1. First, select the column you want to GROUP.2. Select the GROUP BY option. It will pop up a new window.3. You will see four tabs. In first tab enter column name, the second name of the column and in third choose operation.4. Click Ok you will get the desired result look something like this as shown below.You will get all the counts for different states. Click close and apply or simply close.
Create Custom ColumnsWhen you import the data there is no such guarantee that the data you needed going to be present in the table or dataset. At that time you need to create columns from your side which brings us to use create custom columns option. This option is very handy and used most of the time while cleaning the data. This will create a new column from the columns present in the table.Suppose you have two column name Weight in your dataset which contains data in milligrams. You want the weight in kilograms. What will you do?1. Go to Add Column tab. Click on it a new window will appears2. Click on the custom column it will open a model3. In the first tab enter column name, select available column. Click on the weight column4. Write the custom formula, in this case, the formula is going to be=[Weight] * 10005. Click OK. You will see another column added in your dataset
There is one more option conditional column. This is used when you want the value in a column only when a certain condition satisfied like the if-else statement in coding techniques. To understand it lets take an example, Suppose we have a column in our dataset named AGE. We want to create a custom column in which the persons whose age equals 25 will be named as Adults. Follow these steps1. Select the tab add column and then conditional column which will open a pop-up.2. In the first tab enter the name of the column. In the second tab select the column name in our case it is AGE. Select the operator in our case equals. In the third tab enter value which is ADULTS.3. If you want to enter the value if the above condition is not met you can enter the value in the fourth tab.4. Click OK
ConclusionCustom power query is the essential part of power BI. It’s not possible to explain all the options present in the query editor, but I have tried to explain most of the parts present in this blog above. In the editor, you can almost do anything with your data to make it meaningful. I hope you will follow all the steps and also try doing it on your own to understand it better.
Thank You For Watching Connect For More Inf^https://bit.ly/2CPVT4A Call Us: +1-434-608-0184