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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.