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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
JChouris
Helper I
Helper I

Multiple serial numbers One Order Number

I have a chart with order numbers tracking a specific part. There can be multiple serial numbers for each order number. I used this to get them in a sequence but i need each new number to be its own column in on the table. Is this possible?

JChouris_0-1684786391280.png

 

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi  @JChouris , 

 

Here are the steps you can follow: 

1. Create measure. 

Measure = 
RANKX( 
    FILTER(ALL(Sheet1), 
    'Sheet1'[OrderNumber]=MAX('Sheet1'[OrderNumber])), 
    CALCULATE(SUM('Sheet1'[SerialNumber])),,ASC) 
Measure 2 = 
IF( 
    HASONEFILTER(Sheet1[OrderNumber]), 
    CONCATENATEX( 
        FILTER(ALL(Sheet1),'Sheet1'[OrderNumber]=MAX('Sheet1'[OrderNumber])),[Measure],"/"), 
        BLANK()) 

2. Result: 

 

veqinmsft_0-1684916087295.png

 

If it doesn't meet your expectations, can you express your results in the form of pictures, we can better help you 

Best Regards, 

Liu Yang 

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

View solution in original post

2 REPLIES 2
v-eqin-msft
Community Support
Community Support

Hi  @JChouris , 

 

Here are the steps you can follow: 

1. Create measure. 

Measure = 
RANKX( 
    FILTER(ALL(Sheet1), 
    'Sheet1'[OrderNumber]=MAX('Sheet1'[OrderNumber])), 
    CALCULATE(SUM('Sheet1'[SerialNumber])),,ASC) 
Measure 2 = 
IF( 
    HASONEFILTER(Sheet1[OrderNumber]), 
    CONCATENATEX( 
        FILTER(ALL(Sheet1),'Sheet1'[OrderNumber]=MAX('Sheet1'[OrderNumber])),[Measure],"/"), 
        BLANK()) 

2. Result: 

 

veqinmsft_0-1684916087295.png

 

If it doesn't meet your expectations, can you express your results in the form of pictures, we can better help you 

Best Regards, 

Liu Yang 

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

If we just wanna find the missing serial number that it show only missing serial Number one for order number. How can we get that?

 

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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