Forum Discussion
apelleti
3 years agoHelper I
DAX expression question
Hi everyone, I'm looking for a DAX forumla that will return the column below "Significant Line". If a line contains at least one significant segment (Significant Segment = Yes), then each entry ...
- 3 years ago
Update like this:
Column =VAR _line = TableName[Line]VAR SigSeg =CALCULATE(MAX(TableName[Significant Segment]),TableName[Line] = _line,ALL())RETURNIF(SigSeg="Yes", "Yes", "No")tried and it worked like this:
FreemanZ
3 years agoSuper User
hi apelleti
For calculated column, try like:
Significant Line =
VAR _line = [Line]
VAR SigSeg =
CALCULATE(
MAX([Significant Segment]),
[Line] = _line
)
RETURN
IF(SigSeg="Yes", "Yes", "No")
FreemanZ
3 years agoSuper User
Update like this:
Column =
VAR _line = TableName[Line]
VAR SigSeg =
CALCULATE(
MAX(TableName[Significant Segment]),
TableName[Line] = _line,
ALL()
)
RETURN
IF(SigSeg="Yes", "Yes", "No")
tried and it worked like this: