Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |