Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Discrepancy in Unique Order Count When Aggregating Data Using SUMMARIZE Function

Hi everyone, I'm working with a large dataset and am encountering a discrepancy in the unique order count when aggregating the data. Here’s a summary of the issue: Original Data: I have a table...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, Anonymous 

     

    You can try the following methods.

    Measure = 
    Var _table=SUMMARIZE( 'Table', 'Table'[City], 'Table'[Product Line], 'Table'[Sales Batch Month], 'Table'[Order ID] )
    RETURN
    COUNTX(_table,[Order ID])

    Is this the result you expected?

     

    Best Regards,

    Community Support Team _Charlotte

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