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
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
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.