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

identify consecutive underperformance for a product

Hello everybody,

 

I want to show when a certain product underperforms for at least two consecutive months. See following table.
My product is identified through a equipment number, for every month and every product i get information about the units sold. This information is only mothly not daily.

My goal is that i get an alert or something that shows me, when i have a product, that is sold less than a 1000 times for 2 or more consecutive months.

 

Thank You in advance for your help!

Luca

 

 table.PNG

Luca_YSN_0-1676579286264.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I think modification to this logic should help 

 

Customer Purchasing in each of the last 3 months: https://youtu.be/bGtjoccEA38

 

Countx( values(product[Product]), calculate( if(
countx(values(Date[Month Year]), if([Measure] >1000),[Month Year], blank()) >=2, [Product], blank())))

 

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

@amitchandak thank you very much for your help, but unfortunately its not solving my problem. 

I did the video and changedit with your idea, it shows me identification but as you can see in the table it gives me a 1 (signal) as soon as a product hits 1000 units. I only want to see if it not hit 1000 for 2 consecutive months. When I turn > into < then i see the exact opposite but the 2 consecutive motnhs are not considered.
table 2.PNG

 

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.