Forum Discussion

dyee4613's avatar
dyee4613
Helper I
7 years ago
Solved

ALLEXPECT ISSUe

I'm having trouble using the ALLEXPECT Function.  I want to create a formula that will give me the total units ignoring all filters except for PD and CC.  Here is the formula I came up with:

Units = CALCULATE(SUM(Packout[Piece Count]),ALLEXCEPT(Bridge,Bridge[CC],Bridge[PD]))


Data Model

Result:


The desired result is for each column in the units field to say 18518.  Please let me know what I'm doing wrong or if I need to provide anymore information, thank you!
  • Anonymous's avatar
    Anonymous
    7 years ago

    dyee4613 - The filter is being applied from G_L Account_No. That filters the bridge table and that, in turn, filters down the Packout table. I'm not sure what exactly you're trying to accomplish?

     

    I hope this helps. If it does, please Mark as a solution.
    I also appreciate Kudos.
    Nathan Peterson

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    dyee4613 - The filter is being applied from G_L Account_No. That filters the bridge table and that, in turn, filters down the Packout table. I'm not sure what exactly you're trying to accomplish?

     

    I hope this helps. If it does, please Mark as a solution.
    I also appreciate Kudos.
    Nathan Peterson
    • dyee4613's avatar
      dyee4613
      Helper I

      I fixed it.  My issue was I had the data connection both ways. I switched it to one way and it fixed it.