- عنوان کتاب: Learning Power Query -Simplify data cleaning and analysis with Excel’s most powerful tool
- نویسنده: Adam Szczepan Kope
- حوزه: آموزش اکسل
- سال انتشار: 2025
- تعداد صفحه: 582
- زبان اصلی: انگلیسی
- نوع فایل: pdf
- حجم فایل: 22.5 مگابایت
پاور کوئری به یکی از مهمترین ابزارهای اکسل برای هر کسی که با دادهها کار میکند، تبدیل شده است. از آنجایی که سازمانها اطلاعات بیشتری را نسبت به گذشته جمعآوری و پردازش میکنند، توانایی تبدیل مستقیم دادهها در اکسل دیگر اختیاری نیست. پاور کوئری هم سادگی را از طریق رابط کاربری خود و هم قدرت را از طریق زبان M ارائه میدهد و آن را به یک مهارت حیاتی برای متخصصان داده مدرن تبدیل میکند. این کتاب به گونهای سازماندهی شده است که خوانندگان را از تبدیلهای بنیادی تا سناریوهای پیشرفته همراهی کند. فصلهای اولیه دستورات و منطق ضروری را معرفی میکنند، در حالی که بخشهای بعدی پارامترسازی، مدیریت خطا، عملکرد، بازگشت و توابع سفارشی را بررسی میکنند. مطالب به گونهای ساختار یافتهاند که گام به گام اعتماد به نفس ایجاد کنند و هر موضوع زمینه را برای موضوع بعدی آماده میکند. در سراسر کتاب، مثالها به جای تئوری انتزاعی، مبتنی بر موارد استفاده عملی هستند. خوانندگان خواهند دید که چگونه میتوان پاور کوئری را برای مشکلات واقعی کسب و کار به کار برد و چگونه نوشتن مستقیم کد M میتواند انعطافپذیری و کارایی فراتر از آنچه رابط کاربری ارائه میدهد را آزاد کند. هدف فقط دنبال کردن مراحل نیست، بلکه درک دلیل پشت تبدیلها است. این کتاب برای کاربران اکسل که میخواهند فراتر از فرمولها حرکت کنند و برای تحلیلگرانی که به روشهای بهتری برای آمادهسازی و خودکارسازی تبدیل دادهها نیاز دارند، نوشته شده است. همچنین از مربیان و متخصصانی که به دنبال کسب اطلاعات بیشتر در مورد Power Query و کسب وضوح در توضیح منطق آن برای دیگران هستند، پشتیبانی میکند. در فصل آخر، خوانندگان قادر خواهند بود گردشهای کاری پرسوجوی ساده و خودکار را با اطمینان طراحی کنند. آنها نه تنها نحوه استفاده از رابط کاربری گرافیکی (GUI) را میدانند، بلکه نحوه نوشتن و اصلاح کد M، مدیریت عملکرد و ساخت تبدیلهای مقیاسپذیر را نیز خواهند دانست. مقدمه کلی کتاب و به دنبال آن، فصل 1: شروع کار با Power Query – Power Query را به عنوان ابزاری اصلی برای وارد کردن، تبدیل و خودکارسازی کار دادهها در اکسل معرفی میکند. نحوه دسترسی به رابط کاربری، اتصال به منابعی مانند فایلهای متنی یا وبسایتها و اعمال تبدیلهای اولیه را پوشش میدهد. بر اهمیت ساختار داده مناسب تأکید میکند و نحوه شروع ساخت گردشهای کاری تکرارپذیر و کارآمد را نشان میدهد. فصل 2: اتصالات و واردات پیشرفته دادهها – نحوه اتصال Power Query به منابع ساختار یافته و نیمه ساختار یافته، از جمله جداول، محدودههای نامگذاری شده، پوشهها و پایگاههای داده Access را نشان میدهد. تکنیکهایی را برای مدیریت هدرهای متناقض، فیلتر کردن فایلها و عناصر پنهان و وارد کردن پویای محتوا نشان میدهد. با راهنمایی عملی در مورد تنظیم بهروزرسانی خودکار با استفاده از تنظیمات Power Query و VBA به پایان میرسد. فصل 3: ترکیب پرسوجوهای داده – تکنیکهای اصلی ترکیب مجموعه دادهها با استفاده از Power Query را پوشش میدهد. خوانندگان تفاوت بین افزودن ردیفها و ادغام ستونها را به همراه انواع مختلف ادغام مانند ادغامهای داخلی، خارجی، ضد و فازی یاد میگیرند. موارد استفاده عملی شامل وارد کردن دادههای فروش چند ساله، ایجاد جستجوی قیمت، تجمیع جزئیات فاکتور و تطبیق نامهای فازی شهرها است. این فصل همچنین عملیات پیشرفتهای مانند خود-اتصالها، مقایسه لیستها و جداول تبدیل را بررسی میکند. فصل 4: گروهبندی دادهها – سازماندهی و خلاصهسازی اطلاعات با استفاده از تکنیکهای مختلف گروهبندی در Power Query. از تجمیعهای ساده گرفته تا لیستهای پویای محصولات، رتبهبندی با پیوندها و گروهبندی محلی، این فصل طیف کاملی از عملیات گروهبندی را پوشش میدهد. نحوه اعمال توابعی مانند List.Modes و Table.Group را با GroupKind.Local بررسی کنید، در حالی که از انواع دادههای صحیح برای تجزیه و تحلیل قابل اعتماد و کارآمد اطمینان حاصل میکنید. فصل 5: Pivot و Unpivot – جداول پیچیده و سبک گزارش را به مجموعه دادههای ساختاریافته و آماده برای تجزیه و تحلیل تغییر شکل دهید. مثالهای عملی را دنبال کنید که شما را در زمینه unpivot کردن هدرهای نامنظم، تبدیل ردیفهای تکراری به ستونها و تنظیم فیلدها برای پشتیبانی از تبدیلهای سازگار و خودکار راهنمایی میکنند. فصل 6: افزودن ستونها – تبدیلهایی را انجام دهید که دادههای شما را غنی میکنند، مانند محاسبه و گرد کردن تخفیفها، تقسیم فیلدها بر اساس منطق سفارشی و تبدیل مدت زمانها به خروجیهای مبتنی بر زمان. از مثالهای Column From برای تعریف منطق پیچیده از طریق الگوها، ایجاد تبدیلهای ساختاریافته و خوانا مبتنی بر نیازهای دنیای واقعی استفاده کنید. فصل 7: عملیات منطقی و ستونهای شرطی – قدرت منطق شرطی در Power Query را از طریق برنامههای دنیای واقعی مانند محاسبه اضافه کاری، اختصاص پاداش و نمرهدهی نمرات دانشآموزان بررسی میکند. نحوه استفاده از عملگرهای منطقی، if های تو در تو و توابع M را برای خودکارسازی تصمیمات و مدیریت استثنائات نشان میدهد. روشهای عملی برای مقایسه ردیفها، مدیریت خطاها و تجزیه و تحلیل دورههای غیبت را با استفاده از ابزارهای رابط و کد پیشرفته M پوشش میدهد. فصل ۸: پارامترها و پارامترسازی پرسوجو – نحوه ایجاد و استفاده از پارامترها در پاور کوئری برای ساخت پرسوجوهای پویا و قابل استفاده مجدد را پوشش میدهد. مثالهای گام به گام نحوه استخراج مقادیر از سلولها، استفاده از Drill Down برای هدفگیری دقیق دادهها و جایگزینی مسیرهای فایل کدگذاری شده را نشان میدهند. راهنماییهای عملی برای مدیریت پارامترها از لیستها، پرسوجوها یا سلولهای کاربرگ و استفاده از کد M برای انعطافپذیری بیشتر ارائه شده است…
Power Query has become one of the most important tools in Excel for anyone working with data. As organizations collect and process more information than ever before, the ability to transform data directly within Excel is no longer optional. Power Query offers both simplicity through its interface and power through the M language, making it a critical skill for modern data professionals. This book is organized to take readers from foundational transformations all the way to advanced scenarios. Early chapters introduce essential commands and logic, while later sections explore parameterization, error handling, performance, recursion, and custom functions. The material is structured to build confidence step by step, with each topic preparing the ground for the next. Throughout the book, examples are grounded in practical use cases rather than abstract theory. Readers will see how Power Query can be applied to real business problems, and how writing M code directly can unlock flexibility and efficiency beyond what the interface offers. The goal is not just to follow steps, but to understand the why behind the transformations. This book is written for Excel users who want to move beyond formulas and for analysts who need better ways to prepare and automate data transformation. It also supports trainers and professionals looking to learn more about Power Query and gain clarity in explaining its logic to others. By the final chapter, readers will be able to design streamlined, automated query workflows with confidence. They will not only know how to use the GUI, but how to write and refactor M code, manage performance, and build transformations that scale. General introduction to the book followed by, Chapter 1: Getting Started with Power Query – Introduces Power Query as a core tool for importing, transforming, and automating data work in Excel. Covers how to access the interface, connect to sources like text files or websites, and apply basic transformations. Emphasizes the importance of proper data structure and shows how to begin building repeatable, efficient workflows. Chapter 2: Advanced Data Connections and Imports – Shows how to connect Power Query to structured and semistructured sources, including tables, named ranges, folders, and Access databases. Demonstrates techniques for handling inconsistent headers, filtering files and hidden elements, and dynamically importing content. Ends with practical guidance on setting up automatic refresh using both Power Query settings and VBA. Chapter 3: Combining Data Queries – Covers the core techniques for combining datasets using Power Query. Readers learn the difference between appending rows and merging columns, along with various join types such as inner, outer, anti, and fuzzy merges. Practical use cases include importing multi-year sales data, building price lookups, aggregating invoice details, and matching fuzzy city names. The chapter also explores advanced operations like self-joins, list comparisons, and transformation tables. Chapter 4: Grouping Data – Organize and summarize information using various grouping techniques in Power Query. From simple aggregations to dynamic product lists, rankings with ties, and local grouping, this chapter covers the full range of Group By operations. Explore how to apply functions like List.Modes and Table.Group with GroupKind.Local, while ensuring correct data types for reliable and efficient analysis. Chapter 5: Pivot and Unpivot – Reshape complex, reportstyle tables into structured datasets ready for analysis. Follow practical examples that guide you through unpivoting irregular headers, turning repeated rows into columns, and adjusting fields to support consistent and automated transformations. Chapter 6: Adding Columns – Perform transformations that enrich your data, such as calculating and rounding discounts, splitting fields by custom logic, and converting durations into time-based outputs. Use Column From Examples to define complex logic through patterns, creating structured and readable transformations grounded in real-world needs. Chapter 7: Logical Operations and Conditional Columns – Explores the power of conditional logic in Power Query through real-world applications like calculating overtime, assigning bonuses, and grading student scores. Demonstrates how to use logical operators, nested ifs, and M functions to automate decisions and handle exceptions. Covers practical methods for comparing rows, managing errors, and analyzing absence periods using both interface tools and advanced M code. Chapter 8: Parameters and Query Parameterization – Covers how to create and use parameters in Power Query to build dynamic and reusable queries. Step-by-step examples show how to extract values from cells, use drill down for precise data targeting, and replace hardcoded file paths. Practical guidance is given for managing parameters from lists, queries, or worksheet cells, and using M code for greater flexibility. Readers also explore how to avoid common issues with non-unique keys and privacy settings. Chapter 9: Creating Custom Functions – Discover how to encapsulate and reuse transformations across multiple datasets using custom functions in Power Query. From understanding how Power Query generates functions during folder imports to building reusable logic from parameterized queries, this chapter provides hands-on techniques for modular design. It also demonstrates how to construct custom M functions from scratch, handle optional arguments, and standardize data formats effectively— laying the groundwork for scalable, automated workflows. Chapter 10: Examples Using M Language – Presents advanced data transformation techniques that go beyond the graphical interface by leveraging the M language. Covers a wide range of real-life scenarios such as running totals, custom sorting, dynamic row and column removal, and pair generation. Demonstrates how recursion works through a factorial function and offers scripting and structural best practices to improve query flexibility and performance. Chapter 11: Optimization and Extensions – Focuses on making Power Query workflows more efficient, readable, and maintainable. Introduces built-in view and statistics tools that help detect data quality issues and evaluate transformations. Highlights concrete strategies for improving query performance by removing unnecessary data early, reducing applied steps, using correct data types, and avoiding computationally expensive operations. Discusses techniques to measure execution time using Power Query, VBA, and Power BI diagnostics. Also explores Visual Studio Code as an alternative editor for better M code formatting and development.
این کتاب را میتوانید از لینک زیر بصورت رایگان دانلود کنید:
Download: Learning Power Query
نظرات کاربران