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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
llaprosper
Frequent Visitor

Average - Tickets per day - Not all days are counted

Hello all,
I am a beginner, but I have already created a few reports successfully.
Now I have the following problem:

We have a ticket system where I want to show how many tickets are created on average per day.
In the database there is a column "CreatedDate".
I have linked this to my self-made table "Calendar".

Now I have created a measure.

 

Ticket Count = COUNT(Ticketing[TicketNumber])

 


So I have the number of tickets

Then I tried the following:

 

Average Ticket per day = AVERAGEX(VALUES('Calendar'[Date]),Ticketing[Ticket Count])

 

Now I also get results displayed.

But not from the average of ALL days, only from the days where also a ticket was created.
Mostly no tickets are created on weekends, so these days are not counted.
What can I do so that ALL days are counted? Including the days where no ticket was created (All days I select by slider)

 

best regards
Andreas

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Try

Average Ticket per day = AVERAGEX(VALUES('Calendar'[Date]),COALESCE([Ticket Count], 0))

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

Try

Average Ticket per day = AVERAGEX(VALUES('Calendar'[Date]),COALESCE([Ticket Count], 0))

thanks a lot. This works great

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.