Forum Discussion

al1981's avatar
al1981
Helper II
2 years ago
Solved

Plan vs realization

I would like to do some analytics on activities of our sales rep... I think its pretty basic, but... I have one table with historical data (contacts with buyers and product details, dates, location,...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi al1981 ï¼Œ

    If we add loops as a filter with salesperson as the filter, then we can make some changes to the original DAX.

    PlanCount = CALCULATE
    (COUNTROWS('Plan'),
    ALLEXCEPT(Plan,'Plan'[Cycle],'Plan'[Sales Rep]))

     

    Hope it helps!

    Best regards,
    Community Support Team_ Tom Shen

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