- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Biz Days in a month calculation
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Lydia. I used the DAX formula you posted.
It works.
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Microsoft Fabric Community Conference 2025
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
Subject | Author | Posted | |
---|---|---|---|
08-06-2024 10:44 PM | |||
07-23-2024 11:55 PM | |||
08-21-2024 02:49 AM | |||
09-05-2024 11:39 PM | |||
08-26-2024 12:06 AM |
User | Count |
---|---|
122 | |
79 | |
59 | |
58 | |
44 |
User | Count |
---|---|
179 | |
120 | |
82 | |
70 | |
53 |