11.2 How to Split & Trim Text in Power BI (Power Query) | Power BI Tutorial for Beginner

Опубликовано: 01 Август 2020
на канале: Pavan Lalwani
53,350
455

#pavanlalwani #powerquery #splitandtrimfunction #dataanalytics

In this video, we will learn how to use the split and trim function in Power Query. There is a column in our dataset where all the text is combined into one column. We want to split this column into three different columns. Additionally, we also need to remove any unwanted spaces that may be present. We will demonstrate this process using Power BI.

To begin, we will import the table named "Text split trim" into Power BI. Make sure to close the file before importing the data. Once the data is imported, we can access the Power Query text functions by clicking on "Get Data" and selecting "Excel" or "Power Query text functions".

Next, we need to select the column we want to split and go to "Transform Data". Here, we will find a variety of text functions in the "Transform Column" box. To split the column, we can use the "Split by Delimiter" function. In this case, the delimiter is a comma.

Simply click on "OK" and the column will be split into multiple columns. You can rename the columns as desired. If there are any unwanted spaces in the columns, you can use the "Trim" option under the "Format" tab to remove them.

Once the necessary transformations are complete, click on "Close and Apply" to load the table. The split columns can be used for further analysis, such as creating sales reports by city.

We hope this tutorial has helped you understand how to work with the split and trim function in Power Query. If you have any questions, please let us know in the comments. Don't forget to like and subscribe for more Power BI tutorials!

---------------------------------------------------------
💼 Invest in your future with our Power BI 2023 NEW Course at an incredible 50% discount:
🔗 https://learn.pavanlalwani.com/course...

📚 200+ MCQs to test your knowledge.
📝 20+ Assignments for hands-on practice.
🔍 11+ Case Studies for real-world insights.
💼 5+ Industry Projects to build your portfolio.
🎓 Course Completion Certificate for your resume.
💡 Tips & Tricks to boost your skills.
🔎 5+ Industry Datasets for practical learning.

Join thousands of professionals who have transformed their careers. Enroll now at 50% off!
🎉🔗 https://learn.pavanlalwani.com/s/store
You can also explore our Power BI DAX 2023 course and get a 360º understanding of DAX
🎉 🔗https://learn.pavanlalwani.com/course...

Invest in yourself. Become a Power BI expert. The future is yours! 💼💪"
📥 Download Practice Material from Server 💾:

#datacleaning #powerbi #datatransformation #queryFunctions
---------------------------------------------------------
Timestamps:
00:00:03 Splitting and Trimming Text Functions 💡
00:00:16 Concatenated Place Names ➕
00:00:40 Importing Table into Power BI 📊
00:01:06 Power Query Text Functions 📝
00:01:28 Splitting Text Columns 🔀
00:01:52 Selecting Delimiter in Split Function ✂️
00:02:22 Renaming Columns 🔄
00:02:44 Removing Unwanted Spaces 🗑️
00:03:05 Deleting Steps in Power Query 🚫
00:03:28 Renaming Columns Again 🔄
00:03:56 Closing and Applying Changes ✔️
00:04:24 Automatically Creating a Map 🗺️