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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to find common & uncommon items monthwise

Hi,

 

Need help with DAX, i have a table created using a folder of files, where i will be adding a file every month to the folder, i have a columns with parts(list of parts including duplicates), priority, month etc i want to find the part count that are common in both the months(previous & current), the parts removed from previous month & new parts added to current month, based on their priority. I want the DAX to work every month automatically as in when i add new file every month. I also want to find the standard deviation in part count with respect to priority.  TIA

 

something like this,

Jack11_0-1595845506317.png

P.S:Priority is dynamic

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , refer if this can help

churn rate : https://community.powerbi.com/t5/Desktop/Churn-Rate-lost-Customer/m-p/1173754#M529196

 

or these

https://blog.enterprisedna.co/new-vs-existing-customers-advanced-analytics-w-dax/
https://www.sqlbi.com/articles/computing-new-customers-in-dax/

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

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , refer if this can help

churn rate : https://community.powerbi.com/t5/Desktop/Churn-Rate-lost-Customer/m-p/1173754#M529196

 

or these

https://blog.enterprisedna.co/new-vs-existing-customers-advanced-analytics-w-dax/
https://www.sqlbi.com/articles/computing-new-customers-in-dax/

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 i got the expected result, thanks for your help but there is just one problem am not getting the lost/exit count of parts, this is the formula that am using currently, can you please help me on this part

exit = COUNTX(VALUES(data[Part Number]), if([DC]+0=0 && [last month count]=1,(data[Part Number]),BLANK()))

Jack11_0-1597387706685.png

 

Anonymous
Not applicable

https://community.powerbi.com/t5/Desktop/Churn-Rate-lost-Customer/m-p/1173754#M529196 this helps but how do i create the fiscal calendar and how to find the count of new parts.

 

Thank you

Hi @Anonymous ,

 

To create a Fiscal Calendar.

 

https://www.youtube.com/watch?v=1-agbCF7HwY

https://www.youtube.com/watch?v=KLfOOIAqfkQ

 

Regards,

Harsh Nathani

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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