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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jonbox
Helper II
Helper II

Fill in blanks based on existing data

I'm trying to fill in some blanks on the below "Probability Adjusted" column.

You can see for each project, "system upgrade", "refresh" and "building work" there are gaps under probability adjusted.

 

Essentially what i want is a measure that assigns the probability adusted based on the project name, e.g. where there are missing gaps under probability adjusted, i want those to be filled in with the probability adjusted of that project.

 

So row 3 should have probability adjusted 90%, row 6 100%, row 9 50%.

 

I'm not sure on the logic though.

Any help please?

 

 

Project NameTypePredicted SpendActual SpendProbability Adjusted
System UpgradeComplete Spend10010090%
System UpgradePredicted Spend10010090%
System UpgradeCurrent Spend200200 
RefreshComplete Spend300300100%
RefreshPredicted Spend200200100%
RefreshCurrent Spend100100 
Building WorkComplete Spend20020050%
Building WorkPredicted Spend20020050%
Building WorkCurrent Spend400400 
1 ACCEPTED SOLUTION

Hi @jonbox 

Here are 2 ways for your reference,

(1) If you want to create a measure

Measure = 
var _value= CALCULATE(MAX('Table'[Probability Adjusted]),FILTER(ALL('Table'),'Table'[Project Name]= MIN('Table'[Project Name]) && NOT(ISBLANK('Table'[Probability Adjusted]))))
return IF(ISBLANK( MIN('Table'[Probability Adjusted])),_value, MIN('Table'[Probability Adjusted]))

vxiaotang_2-1650607157824.png

(2) Power Query Editor - Transform - Fill - Down,

vxiaotang_0-1650606770102.pngvxiaotang_1-1650606781823.png

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Samarth_18
Community Champion
Community Champion

Hi @jonbox ,

 

You could try fill up/down option in Power BI. Please refer below article.

https://docs.microsoft.com/en-us/power-query/fill-values-column 

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hi Samarth,

 

Does this allow to fill based on name of project? since in my above example the probability adjusted is different for each project.

@jonbox It should. Please refer the attached file below.

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hi, i tried to replicate what you have created in the file but have a problem.

 

the probability adjusted seems to fill down from another source

the picture below should show a probability adjusted for  90 like it does at the bottom of the image (the 90 is source data). however for ALL projects in my file the probability adjusted is 25. 

 

the forumla i use:

= Table.FillDown(#"Changed Type",{"Prob_adj"})

 

jonbox_0-1650463334558.png

 

Hi @jonbox 

Here are 2 ways for your reference,

(1) If you want to create a measure

Measure = 
var _value= CALCULATE(MAX('Table'[Probability Adjusted]),FILTER(ALL('Table'),'Table'[Project Name]= MIN('Table'[Project Name]) && NOT(ISBLANK('Table'[Probability Adjusted]))))
return IF(ISBLANK( MIN('Table'[Probability Adjusted])),_value, MIN('Table'[Probability Adjusted]))

vxiaotang_2-1650607157824.png

(2) Power Query Editor - Transform - Fill - Down,

vxiaotang_0-1650606770102.pngvxiaotang_1-1650606781823.png

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors