Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I'm sorry if it's a stupid question, I would like to calculate the number of tickets per working day.
Should I be using Averagex(Working_Days, Tickets) or Divide (Tickets, Working_Days)? and Why?
Thank you so much
Simon
Solved! Go to Solution.
Hello Simon,
Quite an interesting question actually 🙂
The "correct" method to use would depend on your exact requirements.
The key points to be aware of (I'm making some assumptions about how you've defined Working_Days and Tickets):
Personally, I prefer to use the DIVIDE method as I would generally want to count all Working Days regardless of whether Tickets has a nonblank value on any given date.
To illustrate, I have attached a small PBIX example. For this example, let's assume that Working Days are Mon-Fri.
The two important measures to illustrate the difference are:
# Tickets per Working Day AVERAGEX =
AVERAGEX (
FILTER ( 'Date', 'Date'[Work Day] = 1 ),
[# Tickets]
)# Tickets per Working Day DIVIDE =
DIVIDE ( [# Tickets], [Working Days Count] )
In this example, over the first 7 days of January 2023:
Regards
Hello Simon,
Quite an interesting question actually 🙂
The "correct" method to use would depend on your exact requirements.
The key points to be aware of (I'm making some assumptions about how you've defined Working_Days and Tickets):
Personally, I prefer to use the DIVIDE method as I would generally want to count all Working Days regardless of whether Tickets has a nonblank value on any given date.
To illustrate, I have attached a small PBIX example. For this example, let's assume that Working Days are Mon-Fri.
The two important measures to illustrate the difference are:
# Tickets per Working Day AVERAGEX =
AVERAGEX (
FILTER ( 'Date', 'Date'[Work Day] = 1 ),
[# Tickets]
)# Tickets per Working Day DIVIDE =
DIVIDE ( [# Tickets], [Working Days Count] )
In this example, over the first 7 days of January 2023:
Regards
WOW @OwenAuger , a great description for how it works, I really appreciate it so much.
Regards, Simon
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |