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! Learn more

Reply
Jabelenoa
Regular Visitor

Distinct count different products and dates

Hello to everyone!

 

This is my first post in this community. I have read your previous threads and have been quite helpful in learning this tool.

 

Productos.png

 

These are different products done on different dates. I want count how many Changeover I did have in this month.

 

The real number should be 4, a CO on the 1, 3, 11 and 28.

 

I have been able to count the CO when they happen in the same day, but when they happen from one day to another (10 ->11 and 27->28) the formula I am using is not working.

 

To distinct count I am using:

 

CO =
SUMX (
VALUES ( 'Producción'[Production Date] ),
CALCULATE ( DISTINCTCOUNT ( 'Production'[Product type])-1 )
)
 
Thank you all for all the help you could provide!
 
2 REPLIES 2
Icey
Community Support
Community Support

Hi @Jabelenoa ,

 

Please share me a dummy PBIX file or just some sample data, removing sensitive information, for specific test.

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

@Jabelenoa ,Can you share sample data and sample output.

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

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.