Forum Discussion
harrinho
Helper III
8 years agoCalculate SUM with Multiple Criteria
Hi Community, I want to create a measure which will calculate the price of my line items (opportunities) when: Family_type = "Product" AND business_type_name="New" and Closed Pipeline="Open" ...
- Anonymous8 years ago
Hi
Try this.
4Q TCV = CALCULATE(SUM(FACT_PIPELINE[SalesPrice]), FILTER (FACT_PIPELINE, FACT_PIPELINE[Family]= "Product"), FILTER (FACT_PIPELINE,FACT_PIPELINE[business_type_name]= "New"), FILTER (FACT_PIPELINE,'FACT_PIPELINE'[Closed Pipeline]="Open") )Thanks
Raj
Anonymous
8 years agoNot applicable
Hi
Try this.
4Q TCV =
CALCULATE(SUM(FACT_PIPELINE[SalesPrice]),
FILTER (FACT_PIPELINE, FACT_PIPELINE[Family]= "Product"),
FILTER (FACT_PIPELINE,FACT_PIPELINE[business_type_name]= "New"),
FILTER (FACT_PIPELINE,'FACT_PIPELINE'[Closed Pipeline]="Open")
)Thanks
Raj
Anonymous
5 years agoNot applicable
I have been trying to utilize this same concept to sum all rows that meet multiple VAR critera, but its not quite working. What I am trying to do is a calculation of the last 4 weeks of sales. If I use only one variable I am able to bring data for only one week, but if i add another filter criteria to take into consideration an additional week it shows blank.
Any ideas?