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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Stubbz66
New Member

How to display values that didn't appear the week before

Hi Power BI Community

 

I've been asked by a customer to provide a table that shows on any given selected week the values that DIDN'T appear the week before.

 

So from the table below they would want a seperate table that shows driver 220,303,311,325 did NOT appear in week 3. Is this possible? and if so how do I go about it! Any help will be greatly appreciated.

Stubbz66_0-1703091842444.png

 

1 ACCEPTED SOLUTION
rubinboer
Resolver II
Resolver II

hi @Stubbz66 

 

consider this:

  • assumption your columns will be 3/4
  • Check for unique drivers by using DISTINCTCOUNT
  • Check where there is one in 4 (!ISBLANK()) and not in 3 (ISBLANK)

Measure

Not present previous Week = CALCULATE(DISTINCTCOUNT('Drivers'[Drivers]), NOT(ISBLANK(Drivers[4])), ISBLANK(Drivers[3]))
 
Result
rubinboer_0-1703142940821.png

 

Filter the driver on the measure and show that only
rubinboer_1-1703143044629.png

 

 

 

View solution in original post

2 REPLIES 2
rubinboer
Resolver II
Resolver II

hi @Stubbz66 

 

consider this:

  • assumption your columns will be 3/4
  • Check for unique drivers by using DISTINCTCOUNT
  • Check where there is one in 4 (!ISBLANK()) and not in 3 (ISBLANK)

Measure

Not present previous Week = CALCULATE(DISTINCTCOUNT('Drivers'[Drivers]), NOT(ISBLANK(Drivers[4])), ISBLANK(Drivers[3]))
 
Result
rubinboer_0-1703142940821.png

 

Filter the driver on the measure and show that only
rubinboer_1-1703143044629.png

 

 

 

Many thanks for the quick response Rubinboer. I'll put this into action later today!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.