March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
¡Buenos días!
antes que nada quería agradecer toda la ayuda brindada por está comunidad!
Ahora les consulto lo siguiente, necesito filtrar el total (mi usuario no interactua con el informe) por solo tres productos. Alguien me puede ayudar con la fórmula DAX (no lo quiero hacer por el panel de filtros)
TotalFiltrado= Calcular (TotalVentas, Producto = 1 && Producto = 2 && Producto = 3)
usó el filtro, pero solo puedo poner un producto.
Muchas gracias por leer!
buena semana,
Saludos,
Ana
Hi @Syndicate_Admin ,
//Producto = 1 && Producto = 2 && Producto = 3
"&&" indicates that and, the record for the Product ID will not be equal to 1 and 2 and 3. The logic should be that the Product ID is equal to 1 or 2 or 3.
Please try this measure:
TotalFiltrado =
CALCULATE (
[TotalVentas],
FILTER ( 'Table', 'Table'[Producto] IN { 1, 2, 3 } )
)
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |