Forum Discussion
Aggregate calculated measure in table
- 4 years ago
I think you're asking for a calculated column, rather than a measure. If so, I would add a new calculated column that looks like the following:
Orders/Payment Count =
VAR PaymentReferenceOfCurrentRow = ( 'Table'[Payment Reference] )
VAR Result =
COUNTROWS (
FILTER ( Table, Table[Payment Reference] = PaymentReferenceOfCurrentRow )
)
RETURN
Result
I think you're asking for a calculated column, rather than a measure. If so, I would add a new calculated column that looks like the following:
Orders/Payment Count =
VAR PaymentReferenceOfCurrentRow = ( 'Table'[Payment Reference] )
VAR Result =
COUNTROWS (
FILTER ( Table, Table[Payment Reference] = PaymentReferenceOfCurrentRow )
)
RETURN
Result
- Finexio4 years agoFrequent Visitor
Thanks. That worked once I put it in the right table.
Much appreciated!