Forum Discussion

PhilippList's avatar
PhilippList
Frequent Visitor
7 months ago

highlight and filter Bar Chart by using Slicer without disappearing non related values

Hi everyone, 

i'm currently building a Report which shows the SUM of product units by maschines in different Bar Charts. 

I'm using a Slicer with Products and 3 Bar Charts showing the SUM of products by maschines and a Product Group as a small multiplier. 

So when i select a Product on my Slicer it should highlight the related bars but the non related values should be visible as well but in a different color and also it has to show the proportion on my product units based on the selected Filter and the total amount should still be visible. 

So basically a highlighted bar chart which also shows the filtered value. 

Does anybody had to do something like this in the past or has maybe a solution ? 

thanks in advance

Kind regards

Philipp

9 Replies

  • Hi PhilippList ,

     

    For this you need to have a disconnected table and some DAX to make the higligh, please see this video with a full walktrough.

     

    • PhilippList's avatar
      PhilippList
      Frequent Visitor

      Hi MFelix ,

      thank you for you reply.

      i've already applied this step into my Dataset but that's not exactly what i was looking for, because this just simply colors the bars based on the selected values. 

      i'd like to see the normal cross-highlight interaction like for example if click on a bar in a different chart it cross-highlights any related bar in my other charts and shows the exact proportion, but by using a slicer instead. 

      for clarification it should look like this: 


      Is there any solution how i can achieve this.

      Regards

      Philipp

      • MFelix's avatar
        MFelix
        Icon for Super User rankSuper User

        Hi PhilippList ,

         

        You can do this using the DAX code however you may need to use more than one column or a visual calculation to get the expected result.

         

        One question is this to be applied to more than one visual using different options inside your model or to a single visual? Asking this because it also impacts the final solution.

         

        Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

        If the information is sensitive please share it trough private message.

  • Hi PhilippList 

     

    Can you please provide a sample data of tables with some visuals to work on the requirement you shared or a pbix file. Thank you!

      • PhilippList's avatar
        PhilippList
        Frequent Visitor

        krishnakanth240 

        unfortunately it's not possible to share a .pbix file in here:


        is there any other way how i can share this file with you ?

        kind regards,

         

        Philipp

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi PhilippList ,

    Thanks for reaching out to the Microsoft fabric community forum. Thank you MFelix  for helpful response.

     

    Could you please sharing some sample data and expected outputs, so that it could be easy for understand and give you best possible solution to resolve your issue.

    Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
    Please show the expected outcome based on the sample data you provided.
    Need help uploading data? How to provide sample data in the Power BI Forum - Microsoft Fabric Community
    Want faster answers? How to Get Your Question Answered Quickly - Microsoft Fabric Community

    Hope this helps. Please feel free to reach out for any further questions.


    Thank you .

     

    • v-aatheeque's avatar
      v-aatheeque
      Icon for Community Support rankCommunity Support

      Hi PhilippList 

      Just a gentle reminder to please share sample data along with the expected output, so we can better understand the scenario and provide the most appropriate solution.