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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PBI_37
Helper I
Helper I

Bar chart

Hi everyone,

 

I have a dataset with manufacturing steps and durations (there are no start dates) :

PBI_37_0-1731328575910.png

I calculated an average.
I would like to create a visual (bar chart, matrix…) in which each step starts at the end of the previous one:

PBI_37_1-1731328622887.png

Here the link of PBI file :

https://drive.google.com/file/d/1qmfLjN6hvIxVuNE4Tq9DuDTpg7sPXv-_/view?usp=sharing

 

Thank you for your help

2 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @PBI_37 ,

 

Add the following measure to your model:

Average empty = 
        SUMX(
            SUMMARIZE(
                FILTER(ALL(Data), Data[Step] < MAX('Dim Step'[Step])),
                'Dim Step'[Step],
                 "Average Total", [Average]),[Average Total])

Now add this measure on your chart has the first value:

MFelix_0-1731334216619.png

 

Then just make it transparent colour has your background:

MFelix_1-1731334260216.png

 

 

 

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

lbendlin
Super User
Super User

3 REPLIES 3
PBI_37
Helper I
Helper I

Thank you @MFelix and @lbendlin .

Your solutions work perfectly.

lbendlin
Super User
Super User

lbendlin_0-1731337571234.png

 

 

MFelix
Super User
Super User

Hi @PBI_37 ,

 

Add the following measure to your model:

Average empty = 
        SUMX(
            SUMMARIZE(
                FILTER(ALL(Data), Data[Step] < MAX('Dim Step'[Step])),
                'Dim Step'[Step],
                 "Average Total", [Average]),[Average Total])

Now add this measure on your chart has the first value:

MFelix_0-1731334216619.png

 

Then just make it transparent colour has your background:

MFelix_1-1731334260216.png

 

 

 

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.