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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Walt1010
Frequent Visitor

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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors