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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rafaf
Frequent Visitor

Problema ao realizar segmentação dupla de dados

Boa tarde

Estou enfrentando um problema que não consigo resolver e agradeço sugestões.

Estou criando um BI para apresentar a capacidade versus demanda de um setor. Agora são duas máquinas e preciso poder selecionar os turnos de cada uma delas através da segmentação de dados (são duas agora, mas podem ser muito mais no futuro). Minha estrutura de dados de cada máquina é a seguinte. 

Parte da tabela de dados das máquinasParte da tabela de dados das máquinas

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Quando flego só a máquina Vick, a segmentação funciona

Só vick.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mas quando eu tento flegar a outra máquina, não aparece nenhum dado.

Vick + automatic.png

Tenho todo um cálculo de Mão de Obra que precisa do banco de dados da maneira que está, porém não estou conseguindo visualizar no que estou errando. Minha intenção é poder colocar as diversas máquinas do setor para que o analista possa escolher quantos turnos cada máquina estará disponível para que o BI calcule as horas disponíveis individuais e totais do setor.

Obs: Para que eu pudesse filtrar cada máquina individualmente, em cada uma das duas segmentações eu bloqueei a iteração com a outra segmentação cfe abaixo. Porém na tabela não tem nenhum bloqueio.

Desde já agradeço.

Rafael.

bloqueio.png

 

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi @rafaf 

Because your fields are all from the same column of a table, although they are placed in two slices, but you cannot display the content selected in both slices, the content filtered by one of the slicers is displayed, and if both are selected, then a null value will be returned, it is better that  combine the two slicers to one, then make multiple selections 

e.g 

vxinruzhumsft_0-1677033413518.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-xinruzhu-msft
Community Support
Community Support

Hi @rafaf 

Because your fields are all from the same column of a table, although they are placed in two slices, but you cannot display the content selected in both slices, the content filtered by one of the slicers is displayed, and if both are selected, then a null value will be returned, it is better that  combine the two slicers to one, then make multiple selections 

e.g 

vxinruzhumsft_0-1677033413518.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you for the reply @v-xinruzhu-msft 

Just one more question before finish the topic.

In a few months, I going to have 40 machines, and using your solution it will be hard to show to the users which machine operates in which turn. It's going to be 120 fields (40 machines x 3 Turns each).

There is a better way of showing that? 

Thanks in advance.

 

Hi @rafaf 

You can try to put two slicers, one slicer put the "Nome" field, the other put the "Nome" and "Turno" field.

e.g

vxinruzhumsft_0-1677134095647.png.

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.