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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Dax measure to return missing text values in column within single table

Hi, 

 

I need to replicate the following Excel formula in Power BI.

vroy_4-1657561284772.png

 

I have been trying a few things based on what I could find on the forum, but unfortunately nothing has worked so far. 

 

The problem I'm facing is that the dataflow I'm working with does not carry forward some of the Province values for certain types of items (as shown in the example above). I am looking for a function that would allow me to carry forward those missing Province values and fill in the blanks.

 

Thanks for your help!

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
Please create a new calculated column 

Result =
MAXX (
    CALCULATETABLE ( TableName, ALLEXCEPT ( TableName, TableName[OrderID] ) ),
    TableName[Province]
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 
Please create a new calculated column 

Result =
MAXX (
    CALCULATETABLE ( TableName, ALLEXCEPT ( TableName, TableName[OrderID] ) ),
    TableName[Province]
)
daXtreme
Solution Sage
Solution Sage

Hi @Anonymous 

 

This is one of the simplest data transformations that Power Query does for you out of the box. It's about one mouse click away... There is a transformation in PQ called---if I remember right---Fill Down. Just use this and you'll be finished.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.