Forum Discussion
Filter no Filter
Hello everyone
I need help with a filter that's working incorrectly
When using the filter it leaves me all the values in the table and for the values that do not correspond to what was filtered it leaves the lines blank, when I search for it independently if it has data, so I don't know what is wrong.
Example Attachment
If anyone can help me to know what needs to be corrected please
Greetings, I look forward to the answers
2 Replies
- AnonymousNot applicable
Hi PVVBl00 ,
Base on your description, it seems like the data on the visual can't change dynamically base on the filter. Could you please provide provide some raw data in your table(s) (exclude sensitive data) with Text format, the applied filters and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And it is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
- PVVBl00Helper III
El caso seria como el siguiente, tenemos 2 tablas : TBL_SALES - TBL-PRODUCTS
TBL_SALES ID_SALES ID_PRODUCT ID_CATEGORY TOTAL 1 3 1 1200 2 1 1 1500 3 5 2 1200 4 8 5 600 TBL_PRODUCT ID_PRODUCT NAME_PRODUCT 1 TOY 1 2 TOY 2 3 TOY 3 4 TOY 4 Ambas tablas estan relacionada segun el ID_PRODUCT
En la pestaña de modelo tengo una tabla principal donde se obtienen datos de ambas tablas
EJ:
SALE DATE NAME_PRODUCT NAME_CATEGORY TOTAL 1
01/01/2024 PRODUCT10 GENERAL TOY´S 1500 2 27/03/2024 PRODUCT 5 FOODSTUFFS 700 3 12/02/2024 PRODUCT 8 TEXTILES 650 4 17/01/2024 PRODUCT12 METALS 230
Y tengo filtros segun productos y categorias, pero ocurre lo siguiente: Yo filtro por la categoria GENERAL TOY´S, la tabla hace lo siguiente:
SALE DATE NAME_PRODUCT NAME_CATEGORY TOTAL 1
01/01/2024 PRODUCT10 GENERAL TOY´S 1500 2 27/03/2024 PRODUCT 5 3 12/02/2024 PRODUCT 8 4 17/01/2024 PRODUCT12 Me muestra todas las ventas de igual manera y las que no correspoden con el filtro les oculta los valores.
El resultado que yo espero al filtrar es el siguiente:
SALE DATE NAME_PRODUCT NAME_CATEGORY TOTAL 1
01/01/2024 PRODRUCT10 GENERAL TOY´S 1500 Espero se entienda, quedo atento ante cualquier duda
Saludos.