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.
Hi all, new to the forum and to PBI too! Ive checked the archives but cant find an answer to the following....
I am trying to figure out how I can add a column to an existing table that will show me the number of working days (Networkdays?) between today and the date in another column.
Is it as simple as using Newtworkdays and adding a VAR for today()?? I assuming not but thought I would ask the community!!
Any help is greatly appreciated
Solved! Go to Solution.
hi @ScottCC
if you expects a calculated column, try like:
Column = NETWORKDAYS([Date], TODAY())
NETWORKDAYS accepts additional holiday arguments, if you have a list of holidays as a table.
https://dax.guide/networkdays/
hi @ScottCC
if you expects a calculated column, try like:
Column = NETWORKDAYS([Date], TODAY())
NETWORKDAYS accepts additional holiday arguments, if you have a list of holidays as a table.
https://dax.guide/networkdays/
This worked perfectly for what I needed, clearly I was overcomplicating things!!! Thank you
Hi @ScottCC,
It works just like this.
Hi, Thanks for this. It worked, partly. For some reason for a small data set it worked exactly as expected.... but whn the same was applied to a larger set it gave the same return, irrespective of the table column dates. Strange one I just couldnt understand at all, despite the dates being all different the return came bac all as 33211. But it really helped in my understanding so thank you
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 |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
42 | |
39 | |
33 | |
19 | |
18 |