Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Aucesar
Helper III
Helper III

How to make a slicer filter for this situation (see the image)

 

Hi Community,

 

How I can create a slicer to filter for example by "Fusão" or by "Moldação"?

 

Tried relationship, but works for only one column, the others I can´t active the relationship.

 

Any suggestion are welcome!

 

Aucesar_0-1683660695918.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Aucesar , One is having inactive relationships and use userelationship in measure.

You need have multiple measures and add those

 

or keep the slicer independent and try measure like

calculate(Sum(Table[Value]), filter(Table, Table[Column2] in values(slicer[slicer])  || Table[Column3] in values(slicer[slicer])   || Table[Column4] in values(slicer[slicer])  ) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Dear @amitchandak I figure out this problem in another way, but the next requirement was almost the same, please check if you can help me:

 

I have several % measure from error code (coluns 1 to 48) divide by total errors.

Working fine, I need to create a table visual and rank those measure, the problem is when I add the measure it´s a colunm not a row. Using matrix option to convert to "rows" I can´t sort.

What I got so far, created a new table with union and I was able to build the visual but as expected filters have gone 😞

 

Always running circles.

 

Final desire result:

 

Visual table raked by bigger % error code from my measures.

 

Thanks in advance:

 

Some screens:

Working with another table, but filters from data-table isn´t (for sure)

Aucesar_0-1683909075951.png

Union I did to create the table:

 

Refugo-Defeitos =
UNION (
ROW ("Defeitos", "1-Molde Defeituoso-Moldação", "%Defeito", 'Refugo-Controle'[1%] ),
ROW ("Defeitos", "2-Porosidade-Fusão", "%Defeito", 'Refugo-Controle'[2%] ),
ROW ("Defeitos", "3-Fervidor-Fusão", "%Defeito", 'Refugo-Controle'[3%] ),
ROW ("Defeitos", "4-Penetração Metálica-Fusão", "%Defeito", 'Refugo-Controle'[4%] ),
ROW ("Defeitos", "5-Escama-Fusão", "%Defeito", 'Refugo-Controle'[5%] ),
ROW ("Defeitos", "6-Inclusão Areia-Moldação", "%Defeito", 'Refugo-Controle'[6%] ),
ROW ("Defeitos", "7-Molde Quebrado-Moldação", "%Defeito", 'Refugo-Controle'[7%] ),
ROW ("Defeitos", "8-Molde Esmagado-Moldação", "%Defeito", 'Refugo-Controle'[8%] ),
ROW ("Defeitos", "9-Desencontro-Moldação", "%Defeito", 'Refugo-Controle'[9%] ),
ROW ("Defeitos", "10-Empenado-Moldação", "%Defeito", 'Refugo-Controle'[10%] ),
ROW ("Defeitos", "11-Inchamento-Fusão", "%Defeito", 'Refugo-Controle'[11%] ),
ROW ("Defeitos", "12-Molde Vazado-Moldação", "%Defeito", 'Refugo-Controle'[12%] ),
ROW ("Defeitos", "13-Falta Macho-Moldação", "%Defeito", 'Refugo-Controle'[13%] ),
ROW ("Defeitos", "14-Macho Vazado-Moldação", "%Defeito", 'Refugo-Controle'[14%] ),
ROW ("Defeitos", "15-Macho Quebrado-Moldação", "%Defeito", 'Refugo-Controle'[15%] ),
ROW ("Defeitos", "16-Macho Deslocado-Moldação", "%Defeito", 'Refugo-Controle'[16%] ),
ROW ("Defeitos", "17-Macho Trocado-Moldação", "%Defeito", 'Refugo-Controle'[17%] ),
ROW ("Defeitos", "18-Rechupe-Fusão", "%Defeito", 'Refugo-Controle'[18%] ),
ROW ("Defeitos", "19-Inclusão Escória-Fusão", "%Defeito", 'Refugo-Controle'[19%] ),
ROW ("Defeitos", "20-Ferro Frio-Fusão", "%Defeito", 'Refugo-Controle'[20%] ),
ROW ("Defeitos", "21-Vazamento Incompleto-Fusão", "%Defeito", 'Refugo-Controle'[21%] ),
ROW ("Defeitos", "22-Quebrado-Rebarbação", "%Defeito", 'Refugo-Controle'[22%] ),
ROW ("Defeitos", "23-Gases-Fusão", "%Defeito", 'Refugo-Controle'[23%] ),
ROW ("Defeitos", "24-Model Estourado-Fusão", "%Defeito", 'Refugo-Controle'[24%] ),
ROW ("Defeitos", "25-Depressão-Fusão", "%Defeito", 'Refugo-Controle'[25%] ),
ROW ("Defeitos", "26-Excesso Rebarbação-Rebarbação", "%Defeito", 'Refugo-Controle'[26%] ),
ROW ("Defeitos", "27-Junta Fria-Fusão", "%Defeito", 'Refugo-Controle'[27%] ),
ROW ("Defeitos", "28-Sinterização-Fusão", "%Defeito", 'Refugo-Controle'[28%] ),
ROW ("Defeitos", "29-Excesso Tinta-Rebarbação", "%Defeito", 'Refugo-Controle'[29%] ),
ROW ("Defeitos", "30-Dimensional For a-Desenvolvimento", "%Defeito", 'Refugo-Controle'[30%] ),
ROW ("Defeitos", "31-Rebarba de Macho-Moldação", "%Defeito", 'Refugo-Controle'[31%] ),
ROW ("Defeitos", "32-Cementita-Fusão", "%Defeito", 'Refugo-Controle'[32%] ),
ROW ("Defeitos", "33-Furação Errada-Rebarbação", "%Defeito", 'Refugo-Controle'[33%] ),
ROW ("Defeitos", "34-Dureza Alta-Fusão", "%Defeito", 'Refugo-Controle'[34%] ),
ROW ("Defeitos", "35-Dureza Baixa-Fusão", "%Defeito", 'Refugo-Controle'[35%] ),
ROW ("Defeitos", "36-Trinca-Rebarbação", "%Defeito", 'Refugo-Controle'[36%] ),
ROW ("Defeitos", "37-Falta Sobremetal-Fusão", "%Defeito", 'Refugo-Controle'[37%] ),
ROW ("Defeitos", "38-Ovalização-Fusão", "%Defeito", 'Refugo-Controle'[38%] ),
ROW ("Defeitos", "39-Penet. Explosão-Fusão", "%Defeito", 'Refugo-Controle'[39%] ),
ROW ("Defeitos", "40-Limpeza Excessiva-Rebarbação", "%Defeito", 'Refugo-Controle'[40%] ),
ROW ("Defeitos", "41-Gota Fria-Fusão", "%Defeito", 'Refugo-Controle'[41%] ),
ROW ("Defeitos", "42-Usinagem-Usinagem", "%Defeito", 'Refugo-Controle'[42%] ),
ROW ("Defeitos", "43-Teste-Desenvolvimento", "%Defeito", 'Refugo-Controle'[43%] ),
ROW ("Defeitos", "44-Inclusão de Cola-Moldação", "%Defeito", 'Refugo-Controle'[44%] ),
ROW ("Defeitos", "45-Material Errado-Fusão", "%Defeito", 'Refugo-Controle'[45%] ),
ROW ("Defeitos", "46-Falha ao Descer o Molde-Moldação", "%Defeito", 'Refugo-Controle'[46%] ),
ROW ("Defeitos", "47-Quebrada Mãozinha-Mãozinha", "%Defeito", 'Refugo-Controle'[47%] ),
ROW ("Defeitos", "48-Carbono Lustroso-Moldação", "%Defeito", 'Refugo-Controle'[48%] )
)
)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.