This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have a custom column which calculates Networkdays between 2 dates, and it will only calculate if a start date and end date are present, otherwise it shows as blank. What I cannot seem to get it to do is provide a "0" value if Start Date and End Date are the same day. I have tried to append "-1" at the end of my DAX but that just returns a -1 on values that are blank.
This is my DAX:
Solved! Go to Solution.
Hi @Jays_D
You can try this.
Networkdays = DATEDIFF(client_table[Client Meeting Date], client_table[picked up date], DAY)Thanks
Joe
If using network days to exclude weekends, any suggestions rather than using datediff?
Hi @Jays_D
You can try this.
Networkdays = DATEDIFF(client_table[Client Meeting Date], client_table[picked up date], DAY)Thanks
Joe
HI Joe, your suggestion wouldnt factor in weekends or holidays?
Thanks
I cannot believe how over complicated my DAX was !
This has solved it, thank so much @JoeBarry
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 28 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 34 | |
| 25 | |
| 24 |