Forum Discussion
What3lse
3 years agoNew Member
Fill Missing Value
Hello everybody, I'm discovering DAX language and I have some difficulties to do thant I want. I will explain you my issue. in the field "Prodline", I don't have always value, I have only one w...
barritown
3 years agoSolution Sage
Hi What3lse,
If I correctly understand the logic for filling missing values, you could use a calculated column like this:
In plain text for convenience:
ProdLine Updated =
IF ( NOT ISBLANK ( [ProdLine] ),
[ProdLine],
VAR CurrentProdOrder = [ProdOrder]
VAR Result = MAXX ( FILTER ( Data, [ProdOrder] = CurrentProdOrder ), [ProdLine] )
RETURN Result )Best Regards,
Alexander