Forum Discussion
Networkdays function with blank start dates
Hi Experts
I am using the network days function :
Hi Elisa112 ,
Do you mean on the visualization level? You just need to select show items with no values for the column you want to have that information:
8 Replies
- MFelixSuper User
In the first post you refer you want to ignore blank start dates, it seems like what you are writing in this last post is not matching that.
Can you please elaborate on what are the possible results with a example.
- Kedar_PandeSuper User
Calculated column
Meeting date diff =
IF(
ISBLANK('Meetings'[1st Meeting]),
BLANK(),
NETWORKDAYS('Meetings'[1st Meeting], 'Meetings'[2nd Meeting]) - 1
)💌If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn - Elisa112Helper V
MFelix Kedar_Pande Thanks for your help, I actually used conditional formatting to hide the incorrect values from appearing
- Ray_MindsSolution Supplier
In Power BI, you can handle blank values in your measure or calculated column by using the IF and ISBLANK functions:
- ISBLANK('Meetings'[1st Meeting]): Determines if the 1st Meeting column contains a blank value.
- IF statement: If the 1st Meeting is blank, the formula outputs BLANK(). Otherwise, it computes the difference using the NETWORKDAYS function.
- Subtracting 1: Adjusts the result by subtracting 1 from the calculated value.
Did I answer your question? Mark my post as a solution!