Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
Im trying to use CALCULATE with 2 filters:
Solved! Go to Solution.
Hi @luisreyes ,
Please try:
Measure =
CALCULATE(
SUM('Hoja2'[Cantidad]),
FILTER(
'Hoja2',
'Hoja2'[Tipo]="No Consumidos"
||'Hoja2'[Tipo]="Ligero No Consumido"
)
)
or
Measure =
CALCULATE(
SUM('Hoja2'[Cantidad]),
FILTER(
'Hoja2',
'Hoja2'[Tipo] IN {"No Consumidos","Ligero No Consumido"}
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @luisreyes ,
Please try:
Measure =
CALCULATE(
SUM('Hoja2'[Cantidad]),
FILTER(
'Hoja2',
'Hoja2'[Tipo]="No Consumidos"
||'Hoja2'[Tipo]="Ligero No Consumido"
)
)
or
Measure =
CALCULATE(
SUM('Hoja2'[Cantidad]),
FILTER(
'Hoja2',
'Hoja2'[Tipo] IN {"No Consumidos","Ligero No Consumido"}
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
You should be able to filter multiple columns with CALCULATE().
Can you please look at this link for concept and get back if you still have any questions 🙂
https://www.sqlbi.com/articles/specifying-multiple-filter-conditions-in-calculate/
Br
Marius
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.