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
Utsav279
New Member

How to multiple order numbers at a line level?

Hi Power Bi Team, I am trying trying to solve a problem I am running into a power query. I have an order number with more than one line and if only one item is being held for that order I want the rest of the occurrence of other lines of the same order number to be held.

 

Ex: 

Order Num H/O  Hold Reason

96787229HeldMIN_ExpectedDate

 

96787229Opennull

 

I have created a conditional column to calculate this H/O column: 

Utsav279_0-1637091011598.png

 

How I want it displayed is if one Order number is held then the rest of the same order number lines should show being held even if they have shipped and not meet the condition of being null in the screenshot.

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Utsav279 

i think you can use DAX to create a column

Column = maxx(FILTER('Table','Table'[order]=EARLIER('Table'[order])&&'Table'[H/O]="Held"),'Table'[H/O])

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Utsav279
New Member

@ryan_mayu Thank you so much for helping with this issue the dax code worked and appreciate your support!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




ryan_mayu
Super User
Super User

@Utsav279 

i think you can use DAX to create a column

Column = maxx(FILTER('Table','Table'[order]=EARLIER('Table'[order])&&'Table'[H/O]="Held"),'Table'[H/O])

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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 Kudoed Authors