Forum Discussion

JChouris's avatar
JChouris
Helper I
3 years ago
Solved

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 ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    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: 

     

     

    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