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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Count of Items per Month

This seems like it should be simple but I can't seem to figure it out nor find the solution within the community. I have a Date table I created and I want to count the number of items created within each month, for example 10 items in Jan, 15 in Feb, etc. I placed the month column on my X-axis and the Created On column on my Y-axis but what I get in return is the total number of items showing up in each month. 

 

 

 

Count per month.pngPer Month Count.png

1 ACCEPTED SOLUTION
marcelsmaglhaes
Super User
Super User

Hey @Anonymous ,

You can try use COUNTROWS function in a DAX measure. See the image bellow

marcelsmaglhaes_0-1704927616098.png

marcelsmaglhaes_1-1704927668820.png

 

 


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



View solution in original post

4 REPLIES 4
marcelsmaglhaes
Super User
Super User

Hey @Anonymous ,

You can try use COUNTROWS function in a DAX measure. See the image bellow

marcelsmaglhaes_0-1704927616098.png

marcelsmaglhaes_1-1704927668820.png

 

 


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



hi, can you confirm the actual Dax you used? Im trying to use countrows and it wont work.

Hi @Cmatt67 

What do you want to do exactly?


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



Anonymous
Not applicable

Thank you, Marcel. I was using the formula incorrectly but it is working now using Countrows.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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