Forum Discussion
Giada_Togliatti
Post Patron
5 years agoproblem with a formula with related
Hi, I have two samples tables with a relation: orders and people, I want do create a formula like this but it gives me an error SUMX(FILTER(Orders; RELATED(People[Person]= "Anna"); Orders[Sales...
- 5 years ago
Hi Giada_Togliatti ,
Try re-writing your DAX as follows. I think you have missed a closing bracket:
SUMX(
FILTER(Orders; RELATED(People[Person]) = "Anna");
Orders[Sales]*Orders[Quantity])
Thanks,
Pragati
Pragati11
Super User
5 years agoHi Giada_Togliatti ,
You query is incomplete as you haven't attached anything regarding the error you are getting.
Thanks,
Pragati
- Giada_Togliatti5 years ago
Post Patron
Hi,
the error is this:
Too many arguments were passed to the FILTER function. The maximum argument count for the function is 2.
Thanks