Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
I am trying to calculate sum in column A depending on the multiple values in column B. To illustrate below is an example
Column A Column B
100 C1
200 D1
300 AB1
I am trying to calculate sum in column A only for values "C1" & "D1" but i am not able to do it.
Below is the formula i am writing but is there any way i can put multilple filter in there
Solved! Go to Solution.
Modify your measure as below:
NAV CY =
CALCULATE (
SUM ( Table[Column A] ),
FILTER ( Table, Table[Column B] = "C1" || Table[Column B] = "D1" )
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Proud to be a Super User!
@Sandeep_rai , Try like
Measure =CALCULATE ( SUM ( Table[Column A] ), FILTER ( Table, Table[Column B] in { "C1" , "D1" } ))
@Sandeep_rai , Try like
Measure =CALCULATE ( SUM ( Table[Column A] ), FILTER ( Table, Table[Column B] in { "C1" , "D1" } ))
Proud to be a Super User!
Modify your measure as below:
NAV CY =
CALCULATE (
SUM ( Table[Column A] ),
FILTER ( Table, Table[Column B] = "C1" || Table[Column B] = "D1" )
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 63 | |
| 50 | |
| 45 |