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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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())))

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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