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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Walt1010
Helper IV
Helper IV

Count and average of Items per Day/Month

Newbie here. I'm trying to do a linechart of the count of the daily number of calls, and then monthly and overall averages. The table I'm working from has the date and incoming number in it. 

I say DAX  code for a measure along the following lilnes:

m1 = var distinct_count_id = countrows(summarize(tablename,[date],[id]))

but I kept getting syntax errors. I also dont know how to chart a daily measure!

1 ACCEPTED SOLUTION
samratpbi
Super User
Super User

Hi, you simply do countrows in your table and use that measure in the line chart. When you add date in your x-axis then it would get summed up on daily level.

Please let me know if that resolves your problem.

If this resolves your issue, then please mark it as solution, Thanks!

View solution in original post

1 REPLY 1
samratpbi
Super User
Super User

Hi, you simply do countrows in your table and use that measure in the line chart. When you add date in your x-axis then it would get summed up on daily level.

Please let me know if that resolves your problem.

If this resolves your issue, then please mark it as solution, Thanks!

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors