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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
TG-516
Frequent Visitor

How to combine two histograms with different x-axis time fields into one stacked column chart ?

2.png

One histogram report aggregated by incident created month-year, and another report aggregated by incident completed month-year, how can I put these two reports into one stacked column chart in PowerBi?

 

I want to create a visual like this:
NC1.png

 

Thank you for your help!

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @TG-516 
To get a stacked column with both statuses you need to calculate 2 measures :
1. For "created"

2. For "Closed"

and put these 2 measures on the Y-axis:

Ritaf1983_0-1686795787017.png

Link to my sample file with a similar scenario 

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

 

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @TG-516 
To get a stacked column with both statuses you need to calculate 2 measures :
1. For "created"

2. For "Closed"

and put these 2 measures on the Y-axis:

Ritaf1983_0-1686795787017.png

Link to my sample file with a similar scenario 

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

 

Thank you! This helps a lot.

Happy to help 🙂

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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