Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Buen dia expertos.
Quiero crear una metrica en BI que cuente los pedidos de compra mayores a X valor, supongamos $500.000.
La tabla es algo asi:
PEDIDO DE COMPRA | ARTICULO | IMPORTE |
1 | A | 108.000,00 |
1 | B | 270.000,00 |
2 | C | 395.000,00 |
2 | D | 132.000,00 |
3 | A | 588.000,00 |
3 | B | 108.000,00 |
4 | C | 390.000,00 |
5 | D | 390.000,00 |
El resultado esperado en este caso es 2, correspondientes a los pedidos de compra numero 2 y 3.
Muchas gracias!
Excelente! Funcionó.
Mil gracias.
medida =
var _purchase = calculate(Sum(Table[MATTER]), filter(allselected(Table), Table[PURCHASE ORDER] = max(Table[PURCHASE ORDER]))
devolución
sumx(filter(values(Table[PEDIDO DE COMPRA]), _purchase >50000), calculate(Sum(Table[MATTER])) )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.