Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Show only ACTIVE Customers list

Hi,

 

I would like to comment an issue I am struggling with.

 

I have a Customer_Dim with Start_Date and End_Date by customer, and a group of Fact_Tables (Cases, Finance, etc)

Example:

Customer_Dim

silvajf_0-1646068288433.png

 

This is how the data model looks like

 

silvajf_1-1646068392506.png

 

 

I do not link any date from the Customer_Dim with the Calendar_Table.

 

The problem is that when I select a group of dates in the calendar filter to see the KPIs by customer, I get the complete list of customers. And for those customers who started after the selected dates (not existing yet), the KPI values appear in BLANK. This is confusing to the user. Something like this:

 

silvajf_2-1646068502711.png

 

 

Also, the full list of customers is shown in the slicer filter. I would like to see only the “active” customers as an option in the filter and visuals.

 

As a 1st solution, I have created a measure to determine the Existing Customers based on the Start_Date and the MAX(DATE) of the calendar table (Blue column in the image), with the idea of filtering those “Not Existing” customers, but that makes the visual to take a long time to load – Bad user experience

 

As a 2nd solution I have decided to add a “YearMonth” column to the Customer_Dim to track the months where the customer is existing (“active”). In that way I can link the YearMonth_Active with the calendar table, and depending on my selected date I will always see the “Existing Customers”. Example:

 

silvajf_3-1646068746382.png

 

But the resulting Customer_Dim table is too big, and it also makes the visuals load really slowly.

 

Does anyone know how I can solve this problem?

I would like that my visuals and the customer slicer to shown only the existing customers depending on the time frame I select from the calendar table.

 

Many thanks!

Jose

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , refrer this file, where active is created with disjointed date table, if that can help

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak 

 

Thanks for you answer, but this is not what I need. I do not the count of customer (Job ID in your example). What I need is to see the list of “active customers (Job ID)” when I select a specific time frame.

 

As you can see in your example, If I select June 2019, there are only 2 Job IDs as active, but the list in the table shows the full list from the Data Table. I would like to see the 2 Jobs IDs that are active.

 

silvajf_0-1646125658631.png

The same for the filter:

 

silvajf_1-1646125729391.png

Many thanks!

Jose

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.