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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.