Forum Discussion
How to Count of invoice numbers in a column
I have come to the conclusion that building the entire array of dates and counts in one formula overcomplicates things. So, given the distinct dates in a spilt range
= MAP(distinctDate#,
LAMBDA(d, COUNTA(
UNIQUE(FILTER(invoice, invoiceDate=d))
))
)- PeterBartholomew1Apr 30, 2022Silver Contributor
Agreed that it is a good idea to demonstrate that the Pivot Table provides a realistic solution, and without requiring knowledge of formulas. The tabular format without subtotals is reasonably easy to emulate using array formulas but to include subtotals or table pivoting requires serious effort without the Pivot Table. I always get caught out by the need to refresh but, then, I haven't used Calculation Manual either.
- SergeiBaklanApr 30, 2022Diamond Contributor
I believe one day we will have out of the box DA formula for the aggregations. It's hard to compete with PowerPivot which has tens of years history, nonetheless. All depends on concrete case. Cube formulae in combination with dynamic arrays could be a compromise for today, but here we shall train our brains with MDX to generate more or less complex solution.
To refresh or not to refresh is always the question.