cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EduardoPach
Regular Visitor

Slicing and change the visualization data

Hello Everybody,

 

I have a problem, where I can't change the visualization when I filter, for example this is my Visualization without filtering through Material Type as seen in the images under

 

Exemplo Sem filtro.png

 

Exemplo Filtro.png

 

 

But when I do Filter my data it still appears the other material types, it only changes my line in the chart as shown in the images under

 

 

 

 

Exemplo Filtro selecionado.png

 

Exemplo power BI.png

 

 

The only thing I'd like to do differently in this case is only to show the yellow, blue or green bars when I do filter them

 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Microsoft V-lianl-msft
Microsoft

Re: Slicing and change the visualization data

Hi @EduardoPach ,

 

You could check whether the measure involved in visualization uses the “ALL” function

 

Best Regards,

Liang 

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

EduardoPach
Regular Visitor

Re: Slicing and change the visualization data

Hi @V-lianl-msft,

 

I forgot to use filter in my calculate. I was doing like this:

 

CT 1502 = CALCULATE(DIVIDE( SUM('DadosGNxVAZÃOxMV'[Consumo]);SUM('DadosGNxVAZÃOxMV'[Produção]);0);Filter('DadosGNxVAZÃOxMV'[Tipo]="Buna SE 1502")
 
but with your commentary I realized I should do as follow
CT 1502 = CALCULATE(DIVIDE( SUM('DadosGNxVAZÃOxMV'[Consumo]);SUM('DadosGNxVAZÃOxMV'[Produção]);0);Filter('DadosGNxVAZÃOxMV';'DadosGNxVAZÃOxMV'[Tipo]="Buna SE 1502"))
 
Thanks for the support

View solution in original post

4 REPLIES 4
Super User IV
Super User IV

Re: Slicing and change the visualization data

@EduardoPach can you share wht measure you have on bar chart and how does your relationship looks like. Without knowing the model it is very hard to provide the solution.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Microsoft V-lianl-msft
Microsoft

Re: Slicing and change the visualization data

Hi @EduardoPach ,

 

You could check whether the measure involved in visualization uses the “ALL” function

 

Best Regards,

Liang 

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

EduardoPach
Regular Visitor

Re: Slicing and change the visualization data

Hi @V-lianl-msft,

 

I forgot to use filter in my calculate. I was doing like this:

 

CT 1502 = CALCULATE(DIVIDE( SUM('DadosGNxVAZÃOxMV'[Consumo]);SUM('DadosGNxVAZÃOxMV'[Produção]);0);Filter('DadosGNxVAZÃOxMV'[Tipo]="Buna SE 1502")
 
but with your commentary I realized I should do as follow
CT 1502 = CALCULATE(DIVIDE( SUM('DadosGNxVAZÃOxMV'[Consumo]);SUM('DadosGNxVAZÃOxMV'[Produção]);0);Filter('DadosGNxVAZÃOxMV';'DadosGNxVAZÃOxMV'[Tipo]="Buna SE 1502"))
 
Thanks for the support

View solution in original post

Highlighted
EduardoPach
Regular Visitor

Re: Slicing and change the visualization data

@parry2k 

 

Thanks for answering me, you were right the problem was indeed in the way I calculate my measure, you helped me to find where I went wrong. You're the man

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors