Forum Discussion

thatrick1963's avatar
thatrick1963
Regular Visitor
2 years ago
Solved

ALL() & The error "COUNT function only accepts a column reference as an argument."

Newbie here,   I receive this error message when trying to use the ALL() function in following statement.   The COUNT function only accepts a column reference as an argument. Measure = count(all...
  • thatrick1963's avatar
    thatrick1963
    2 years ago

    Thank you so much for the help.  Although I chose to use COUNTX, your reply guided me there.  The solution that that worked.

    DIVIDE(COUNTX('WORK ORDERS','WORK ORDERS'[WO#]),COUNTX(ALL('WORK ORDERS'),'WORK ORDERS'[WO#]))