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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors