SSAS tabular Dax help

  • In my fact table, I have ordernumber and orderlinenumber column as below

    I need to show calculated measure in the report that shows Average line/ order.  

    In this example, there are 2 lines for ordernumber 1234 and 3 lines for Ordernumber 4444

    Ordernumber      OrderlineNumber
    1234                    10
    1234                     20
    4444                    10
    4444                     20
    4444                     30

  • Isn't it as simple as DIVIDE(COUNTROWS('OrderLineItems'),COUNTROWS('Orders')) ?

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply