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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.