Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear all,
I am trying to have a measure that calculates the following:
Thanks so much for everyones help!
Solved! Go to Solution.
Thanks a lot @Anonymous ! In the meantime I use three different measures to get the desired calculation.
Might not be elegant, but worked out as well 🙂
Thanks a lot @Anonymous ! In the meantime I use three different measures to get the desired calculation.
Might not be elegant, but worked out as well 🙂
Hi @PBI-Newbie ,
Please have a try.
Networkdays = CALCULATE(
COUNTROWS('Calendar'),
FILTER('Calendar',
'Calendar'[Date] >= MIN('Date'[Date]) &&
'Calendar'[Date] <= MAX('Date'[Date]) &&
NOT('Calendar'[IsHoliday])
)
)
Working Time Elapsed = [Networkdays] / CALCULATE(
COUNTROWS('Calendar'),
FILTER('Calendar',
YEAR('Calendar'[Date]) = YEAR(MAX('Date'[Date])) &&
MONTH('Calendar'[Date]) = MONTH(MAX('Date'[Date])) &&
NOT('Calendar'[IsHoliday])
)
)
This formula calculates the networkdays of the whole month of the latest date selected in the slicer.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |