Hi all,
I've tried everything and still cannot solve this... maybe PP does not support this?? I doubt that...
My question is:
I have a table of invoices and each row is a product purchased.
I want to count the number of invoices which contain two specified type of products, however I must do this on the invoice level.
Example:
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
I'm looking for the number of invoices which contain both bananas and apples. For this table I would want to get the answer = 2 (11111, 22222).
Is this possible? How do I do that? (In real life I have 2 tables: one with invoice&product ID and another with ProductID&ProductName).
Tried CALCULATE() with CALCULATETABLE() inside and FILTER()..No success.
Hope someone can help me...
Thanks,
Marina
I've tried everything and still cannot solve this... maybe PP does not support this?? I doubt that...
My question is:
I have a table of invoices and each row is a product purchased.
I want to count the number of invoices which contain two specified type of products, however I must do this on the invoice level.
Example:
product | invoice |
banana | 11111 |
apple | 11111 |
pear | 11111 |
cheese | 11111 |
banana | 22222 |
apple | 22222 |
milk | 22222 |
cherry | 22222 |
banana | 33333 |
cherry | 33333 |
eggs | 33333 |
bread | 33333 |
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
I'm looking for the number of invoices which contain both bananas and apples. For this table I would want to get the answer = 2 (11111, 22222).
Is this possible? How do I do that? (In real life I have 2 tables: one with invoice&product ID and another with ProductID&ProductName).
Tried CALCULATE() with CALCULATETABLE() inside and FILTER()..No success.
Hope someone can help me...
Thanks,
Marina