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.
hello , i'm working with power bi RS and
i'm trying to calculate number of days between startdate and enddate except the week end and free day but i haven't found
any idea please
thank you
Solved! Go to Solution.
hello , i finally found a solution
here the dax function that i used after creating a date table that containt holidays days
Try NETWORKDAYS function
i tried it but it did'nt accept it it's not a regonized function i'm work with power bi rs Version: 2.105.1143.0 64-bit (mai 2022)
It is relatively new function, you must upgrade least to September 2022 (or bettter to last version).
Power BI Report Server September 2022 Feature Summary | Microsoft Power BI Blog | Microsoft Power BI
i don't have the permission to made it because i work with client computer and it's gonna take a long long time to have those permission 😕
Try ask our client to upgrade Power BI Desktop, there is additional reason, May 2022 version is out of support. Currently supported versions are: Jan2023, May2023 and Sep2023.
i add a holidays table date that containt all days not to count but after that when a i made a datediff it doesn't take all except my holidays table
hi @asmaG
If you are looking for a simple way you should have a Date Dimesion correctly connected to your facts tables .
so you can have a measure which can simply calculate the date diff between the two dates ,
(a good date dimension is the one which have working days (as a flag for example 1) and weekend days (0).
if this is helpful for you please mark it as a solution .
hello , i finally found a solution
here the dax function that i used after creating a date table that containt holidays days
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 |
User | Count |
---|---|
8 | |
5 | |
4 | |
4 | |
2 |