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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.