Forum Discussion

shoeb1359's avatar
shoeb1359
Helper III
1 year ago

Required Visual Suggestion

Hello Experts,

To create a Clustered Bar Chart in Power BI where:

  1. Each User has two bars:
    • One bar for "Total Capacity" (aggregated across projects).
    • One bar for "Completed Work", broken down by project.
  2. The "Completed Work" bar should be split by individual projects (not stacked).
  3. The visualization should allow easy comparison between Total Capacity vs. Project-wise Completed Work for each user.


UserProjectsCapacityCompleted workStart Date End Date
AHCL242224-Jan-2526-Jan-25
AHHO6427-Jan-2528-Jan-25
AHPA8629-Jan-2531-Jan-25
GCL201824-Jan-2526-Jan-25
GHO121027-Jan-2528-Jan-25
GPA8629-Jan-2531-Jan-25


Data:


Output: 

 

Thanks!

8 Replies

  • Please check your question.

    It does not make sense.

    You say 

    1. A Clustered BAR representing the total capacity of the User across all projects.
    2. A Stacked BAR representing the sum of completed work, segmented by individual Projects.

    but them provide a output example by  Project and User.

     

    Try provide consistent input data, desired output and step by step description.

    You will get a quick response if you put time, care and effort into writing clear problem descriptions.

    Thanks

     

     

     

    • shoeb1359's avatar
      shoeb1359
      Helper III

      I have already mention the Input and desired output result

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi shoeb1359 ,

        Power BI does not have and cannot implement visual objects that look like this:

        You can use the following workaround:

        1. Use two visual objects to display:
        Use this DAX to create a measure and create a clustered bar chart:

        total capacity = 
        CALCULATE(
            SUM('Table'[Capacity]),
            ALL('Table'),
            'Table'[User] = MAX('Table'[User])
        )

        Then use this DAX to create another measure and create a stacked bar chart:

        sum of completed work = SUM('Table'[Completed work])

         

        2. Use only one clustered bar chart but display it in three quadrants


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

  • Hi amitchandak ,

    Hope you are doing well .

    Please advise if you have any solution for this. Business users want the same layout.

    Thanks in Advance