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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Guys,
I need to run the excel FUNCTION AVERAGEIFS in Power BI.
I've tried AVAREGE, AVAREGEX, but i haven't had any success.
The data below the function is followed.
Measure =
AVERAGEIFS(
'Registros'[D],
'Registros'[Situação Fornecedor CA] <> "Não Contabilizar",
'Registros'[Último Movimento] = "Sim",
'Registros'[Cancelado] <> "Sim",
'Registros'[Categoria_Maior] <> "Solicitações de serviço",
'Registros'[Categoria_Maior <> Demandas Internas"
)
Tks
Big Hug's
Solved! Go to Solution.
In addition to vicky's solution, you may also try to write a measure like this:
Measure =
AVERAGEX(
FILTER(
'Registros',
'Registros'[Situação Fornecedor CA] <> "Não Contabilizar"
&&'Registros'[Último Movimento] = "Sim"
&&'Registros'[Cancelado] <> "Sim"
&&'Registros'[Categoria_Maior] <> "Solicitações de serviço"
&&'Registros'[Categoria_Maior <> Demandas Internas"
),
'Registros'[D]
)
Thank you very much, guys.
Big Hug
In addition to vicky's solution, you may also try to write a measure like this:
Measure =
AVERAGEX(
FILTER(
'Registros',
'Registros'[Situação Fornecedor CA] <> "Não Contabilizar"
&&'Registros'[Último Movimento] = "Sim"
&&'Registros'[Cancelado] <> "Sim"
&&'Registros'[Categoria_Maior] <> "Solicitações de serviço"
&&'Registros'[Categoria_Maior <> Demandas Internas"
),
'Registros'[D]
)
You will need to use the CALCULATE function with a filter on the Registros table. Try a something like:
Measure =
CALCULATE(
AVERAGE('Registros'[D]),
'Registros'[Situação Fornecedor CA] <> "Não Contabilizar",
'Registros'[Último Movimento] = "Sim",
'Registros'[Cancelado] <> "Sim",
'Registros'[Categoria_Maior] <> "Solicitações de serviço",
'Registros'[Categoria_Maior <> Demandas Internas"
)
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 |
|---|---|
| 20 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |