Forum Discussion
PHEstaciMa1
Helper II
4 years agoLooking up values in a column
Hi Everyone, I wanted to seek your help in my current DAX formula, however, it says "Too many arguments were passed to the COUNTROWS function. The maximum argument count for the function is ...
- 4 years ago
Hi PHEstaciMa1
Here is the file with solution. https://we.tl/t-dixeoricuZ
Hope it satisfies your requirementAntecedents LSR - Tamer = VAR CurrentValue = MAX ( 'Antecedents - LSR'[Value] ) RETURN SUMX ( '2022 Gemba Online', IF ( CONTAINSSTRING ( '2022 Gemba Online'[Antecedents], CurrentValue ), 1, 0 ) )
tamerj1
Community Champion
4 years agoHi PHEstaciMa1
Here is the file with solution. https://we.tl/t-dixeoricuZ
Hope it satisfies your requirement
Antecedents LSR - Tamer =
VAR CurrentValue =
MAX ( 'Antecedents - LSR'[Value] )
RETURN
SUMX (
'2022 Gemba Online',
IF ( CONTAINSSTRING ( '2022 Gemba Online'[Antecedents], CurrentValue ), 1, 0 )
)PHEstaciMa1
Helper II
4 years agoThanks v-easonf-msft Yes, this is what I wanted to be.