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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Date count and value sum over day, month and year

Hi,

 

This is the formula which I am using to get the values in the first column.

It's counting all the dates but what I want is for the value added to be split over day,month and year in each column.

 

H date (Column) count =
CALCULATE(COUNTA('Lead'[CreatedDate]
))

 

HarryB_0-1671042767215.png

 

Please can you help.

1 ACCEPTED SOLUTION
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

I wonder whether I understand your problem correctly. Do you need to split your date columns to "year", "month","day", and then count them?

vxiaosunmsft_0-1671093360412.pngvxiaosunmsft_1-1671093372774.png

vxiaosunmsft_2-1671093413409.png

Then you can use COUNT function.

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.  

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, 

 

Thank you for your reponse.

 

I just needed the days counted but summed up per day. So if I have an entry of 1 count for july the 5 times would I still use the count method? How would I sum up the each day with different counts.

v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous ,

 

I wonder whether I understand your problem correctly. Do you need to split your date columns to "year", "month","day", and then count them?

vxiaosunmsft_0-1671093360412.pngvxiaosunmsft_1-1671093372774.png

vxiaosunmsft_2-1671093413409.png

Then you can use COUNT function.

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.  

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors