Forum Discussion
Oros
Post Prodigy
3 years agoAdd filter to a measure
Hello. How do you add filters to a measure? I plan to create 2 measures (with filters) and add them together by creating another measure. For example, I would like to create a measure for SA...
- 3 years ago
First of all define the base measure
Base Sales Measure := SUM('MyTable'[Sales])Then you can build on top of that measure
Sales For Selected Customers January := CALCULATE([Base Sales Measure], 'MyTable'[Customer Name] in {"A", "B", "C"}, 'DimDate'[MonthName] = "January" )I hope you got the logic
v-zhangti
Community Support
3 years agoHi, Oros
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.