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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

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.