Practice Power BI

Theory Into Practice

  • Home

Dynamic Segmentation Table

posted in DAX on December 16, 2020 by DAX_learner

I want to segment aggregated data into groups. How can I automate the task of creating these segmentation groups?

Slicer#2 depends on Slicer#1

posted in DAX on November 28, 2020 by DAX_learner

Create a 2nd slicer based on non selected values from 1st slicer.

List items selected in both slicers

posted in DAX on November 24, 2020 by DAX_learner

I have 2 slicers based on the same column of U.S. states.

Average of Daily Totals

posted in DAX on November 11, 2020 by DAX_learner

How can we sum individual daily totals and then average those numbers?

Count customers with more than X in sales?

posted in DAX on November 8, 2020 by DAX_learner

My solution is based on function SUMMARIZECOLUMNS that creates a virtual table.

Dynamic Segmentation Table

posted in DAX on October 12, 2020 by DAX_learner

In my last post I cautioned against using DAX to create a physical table. Segmentation Tables (aka Disconnected) are an exception and worth learning!

SUMMARIZE saves the day

posted in DAX on October 5, 2020 by DAX_learner

Question 1 is easy. Question 2 is tricky. It requires a virtual summary group by table. A what?

Measure Uses Virtual Table

posted in DAX on September 30, 2020 by DAX_learner

Some questions require a virtual table inside a measure to create the required data structure.

Create Rows From Each Row

posted in Power Query on September 26, 2020 by DAX_learner

Each row has Start and End dates. We need to create rows for dates within each date range and split the Amount into those rows.

Rename Columns Based on Position

posted in Power Query on September 23, 2020 by DAX_learner

In Power Query I select columns based on their name, unpivot other columns and load the data into the data model. Later, if the source columns get renamed, I get an error when I refresh the query.

Newer posts →

Categories

  • DAX
  • Power Query
  • Visuals

Recent Posts

  • Working With Totals
  • Counter in a visual
  • multiple date fields in fact table
  • Dynamic X axis on charts
  • Running Total
 Share This
 LinkedIn

Share on Mastodon