Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |