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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
esthony
Frequent Visitor

List down the items that exist from the previous month but not in Current Month

Hi,

 

Good day. Need help on power bi desktop. I was able to create a measure that will count the number of lots that exist from the previous but not on the current or succeeding lot. My problem now is how to get the list of those lots.

 

esthony_0-1693799297921.png

I tried to create a measure (below) but i seems not working.

notexist =
var clot = CALCULATETABLE(VALUES(DailyWip[LOT_NUMBER]))
var plot = CALCULATETABLE(VALUES(DailyWip[LOT_NUMBER]),all(DailyWip),PREVIOUSMONTH(DailyWip[Current Date]),DailyWip[on next month] = 0)
return EXCEPT(clot,plot)
 
What is the right approach to solve this? I believe this can be solved without making a separate data table.
 
Thank you.
 
 
Anthony
3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

so far so good.  What is DailyWip[Current Date] , a column?  Usually you want to use variables to protect your context from the transitions.

Yes Current Date is a column. Im planning to fix this by creating a calendar table and create a inactive relation to the date where it dont exist.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors