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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I am trying find the sum of a column with multiple filter values.
Screenshot below - I would like to calculate the total sum of hours from the "Hours" column if the INV column is value 21, 23, 27 ,28 etc.
I have tried the following DAX
Solved! Go to Solution.
Hi @JamesGordon
try
Productive Value = CALCULATE(SUM(Sheet[Hours]), FILTER(Sheet, Sheet[INV] IN {21,29,27}))
or
Productive Value = CALCULATE(SUM(Sheet[Hours]), FILTER(Sheet, Sheet[INV] = 21 || Sheet[INV] = 29 || Sheet[INV] = 27))
Hi @JamesGordon
try
Productive Value = CALCULATE(SUM(Sheet[Hours]), FILTER(Sheet, Sheet[INV] IN {21,29,27}))
or
Productive Value = CALCULATE(SUM(Sheet[Hours]), FILTER(Sheet, Sheet[INV] = 21 || Sheet[INV] = 29 || Sheet[INV] = 27))
HI @az38
Productive Value = CALCULATE(SUM(Sheet[Hours]), FILTER(Sheet, Sheet[INV] = 21 || Sheet[INV] = 29 || Sheet[INV] = 27))
This one worked thank you!!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |