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 ) )
amitchandak
Super User
4 years agoPHEstaciMa1 , better to create a new column in table1
countx(filter(Table2, Containsstring(Table2[Antecednet], Table1[Value]) ), Table2[Antecednet])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Then you can sum
PHEstaciMa1
Helper II
4 years agoHi amitchandak I'm trying to share the PBIX but it seems there is no option in the reply to attached files. Where can I send it?
- amitchandak4 years ago
Super User
PHEstaciMa1 , you can upload on onedrive or dropbox and share the link
- PHEstaciMa14 years ago
Helper II
Hi amitchandak tamerj1 I'm sharing to both of you my PBIX file, removed the sensitive information already. You may access the file here.