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.
Hi All,
Another NETWORKDAYS problem that I need help with please.
I have a table 'Application_Tasks' with the following columns of interest [Task_Code], [Initiated_Date], [Complete_Date].
I need to find the networkdays between the [Initiated_Date] of [Task_Code] = "DAPPREASS" and the [Complete_Date] of [Task_Code] = "DAPDEC".
Does anybody know how I can create a measure or calculated column to acheive this please. Have tried multiple filters, measure helpers columns etc. but cant get it to work.
Thanks in advance.
Solved! Go to Solution.
Thanks For your help team.
I got there in the end with this solution -
1.
Decision stage = SUMX(
FILTER(
'infodbo Application_Tasks',
'infodbo Application_Tasks'[Task_Code] = "DAPDEC"
),
NETWORKDAYS(
'infodbo Application_Tasks'[Initiated Date],
'infodbo Application_Tasks'[Complete Date],
DAY
7
)
)
Pre-assessment time = SUMX(
FILTER(
'infodbo Application_Tasks',
'infodbo Application_Tasks'[Task_Code] = "DAPPREASS"
),
NETWORKDAYS(
'infodbo Application_Tasks'[Initiated Date],
'infodbo Application_Tasks'[Complete Date],
DAY
7
)
)
PMD to Decision date = 'Measures table' [Pre-assessment time] + 'Measures table' [Decision stage]
Giving me the total work days from Pre-assessment task start to Decision stage finish.
Tim H
Thanks For your help team.
I got there in the end with this solution -
1.
Decision stage = SUMX(
FILTER(
'infodbo Application_Tasks',
'infodbo Application_Tasks'[Task_Code] = "DAPDEC"
),
NETWORKDAYS(
'infodbo Application_Tasks'[Initiated Date],
'infodbo Application_Tasks'[Complete Date],
DAY
7
)
)
Pre-assessment time = SUMX(
FILTER(
'infodbo Application_Tasks',
'infodbo Application_Tasks'[Task_Code] = "DAPPREASS"
),
NETWORKDAYS(
'infodbo Application_Tasks'[Initiated Date],
'infodbo Application_Tasks'[Complete Date],
DAY
7
)
)
PMD to Decision date = 'Measures table' [Pre-assessment time] + 'Measures table' [Decision stage]
Giving me the total work days from Pre-assessment task start to Decision stage finish.
Tim H
@Disaster110 I Hope this helps you.
Hey @Disaster110 ,
consider creating a pbix file that contains sample data, but still reflects your data model: tables, relationships, calculated columns and measures. Upload the pbix to onedrive, google drive, or dropbox and share the link. If you are using a spreadsheet to create the sample data instead of the manual input method share the spreadsheet as well.
Do not forget to describe the expected result based on the sample data you provide. Also add data visualizations to a report page and describe how you expect the result is "mapped" to the visual(s).
Regards,
Tom
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |