In Power BI directQuery mode, Is it possible to use the FIRSTNONBLANK for a calculated column?
Function placeholder is not allowed as part of calculated column dax expression on directquery models
In Power BI, this error refers to that the provided function is NOT supported for use in DirectQuery mode when used in Calculated Column.
So, in Power BI DirectQuery mode, the FIRSTNONBLANK is not supported to be used in a calculated column or Row-level security (RLS). however, you can use it for a Measure in DirectQuery mode without any issue.
FIRSTNONBLANK
FIRSTNONBLANK returns the first value in the column that is not a blank filtered by an expression.
below are some examples of functions that are unsupported for use in a calculated column in DirectQuery mode.
869 questions
574 answers
422 comments
190k users