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.
Hi all,
I want to calculate the number of active sales people pr day between two dates (which can be sumed in the total - for budget calculation) however, I want to exclude weekends and public holidays. I have a table of all over agent which has a column with different start dates and a second column with dates of dismissal (for active employee the value is TODAY()). I have all our public holidays listed in a table with dates.
Can anyone help me calculate the number of active sales people pr day between two dates excluding weekends and holidays?
Best,
NicoM96
Hi @Anonymous
Thanks for reaching out to us.
Could you provide
(1) a sample file, you can replace raw data with bogus data to protect your privacy,
(2) or provide some sample data that fully covers your issue/question
(3) give your expected result based on the sample you provide
Thanks.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , if you want to know active , does week end matter ?
countx(filter(Table, Table[Start]<= today() &&(isblank( Table[Dismissal Date]) || Table[Dismissal Date] >= Today()) , Table[Employee])
Hi again,
I need to calculate our sales budget for each day which is a determined from the number of active sales people. I want to create a table that shows the number of active people by date and all weekends should show a value of 0. The measure should be sumed in order to calculate the YTD budget
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 |