Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello friends,
I am new to Power BI. I need help in calculating the "Number of Business Days in a Month" and "Business Days Passed in a Month" as a measure. I tried the below formula for "Biz Days in a Mth" but i get a wrong value. For eg. the no of business days in May is 22 and with the below mentioned formula i get 20.75 days. I already have a calculated column "Business Days per Month" My data looks like this
I need these measures to calculate an estimate. Please help
Solved! Go to Solution.
@v4anand18,
What field would you like to drag to the visual with the measure? You can use DAX below to calculate "Number of Business Days in a Month" measure, when you drag Month and this measure to a table visual, the measure should return your expected result.
Number of Business Days in a Month = SUM('Business Days 2018'[IS BusinessDay])
Regards,
Lydia
@v4anand18,
What field would you like to drag to the visual with the measure? You can use DAX below to calculate "Number of Business Days in a Month" measure, when you drag Month and this measure to a table visual, the measure should return your expected result.
Number of Business Days in a Month = SUM('Business Days 2018'[IS BusinessDay])
Regards,
Lydia
Thanks Lydia. I used the DAX formula you posted.
It works.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |