Ravindra BagaleCourses & study guides मराठी Track your progress

8. Adding Columns: Power Query Add Column Tab and DAX Calculated Columns

Now we learn how to make new columns – from Power Query's Add Column tab and with DAX calculated columns. Along with that, we look at the difference between a calculated column and a measure in detail, because this is where students get confused the most.

What you will learn in this module

  • Every option on the Power Query Add Column tab, with an example on our data
  • DAX calculated columns: RELATED, IF, SWITCH, date parts and bucket columns
  • Calculated columns vs measures in depth: storage, context, when to use which
  • Implicit vs explicit measures, measure tables, display folders and formatting

Live story: A basket-size slicer for the category team

Suppose the Blinkit category team asks: "How many orders are below ₹199?" Our data has the amount, but not a band like Below ₹199 / ₹199–498 / ₹499+. We need a new column. Power Query or DAX? Column or measure? This chapter answers that, with the Add Column tab and DAX calculated columns.

All numbers in this story are fictional practice data.

Concepts in this chapter

  1. 8.1The Add Column Tab at a Glance
  2. 8.2Column From Examples
  3. 8.3Custom Column
  4. 8.4Invoke Custom Function
  5. 8.5Conditional Column
  6. 8.6Index Column
  7. 8.7Duplicate Column
  8. 8.8From Text: Format, Merge Columns, Extract, Parse
  9. 8.9From Number: Statistics, Standard, Scientific, Trigonometry, Rounding, Information
  10. 8.10From Date & Time: Date, Time, Duration
  11. 8.11DAX Calculated Columns
  12. 8.12Calculated Columns vs Measures in Depth
  13. 8.13Implicit vs Explicit Measures, Measure Tables, Display Folders and Formatting

Review and practice

  1. ★Practice and Answer Key: Calculated Columns vs Measures

The chapter recap is at the end of the last concept page.

Ravi Sir's Cards: 18 revision, interview and comparison cards for this chapter · मराठी cards