The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |