themule1406
New Member
- Joined
- Oct 24, 2017
- Messages
- 3
I have a table with invoices and revenue.
Invoice Revenue
A 200
B 600
A 500
C 400
The output I'm trying to get is the number of unique invoices less than 500. So this example, it would be one invoice, "C" for 400.
The DAX formula below, sees two distinct invoices ,"A" and "C".
Calculate(distinctcount([Invoice],filter(Table1,sum(Table1[Revenue])<500))H
How can I change my formula to get this to work as I hope.
[TABLE="width: 62"]
<colgroup><col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"][TABLE="width: 62"]
<colgroup><col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Invoice Revenue
A 200
B 600
A 500
C 400
The output I'm trying to get is the number of unique invoices less than 500. So this example, it would be one invoice, "C" for 400.
The DAX formula below, sees two distinct invoices ,"A" and "C".
Calculate(distinctcount([Invoice],filter(Table1,sum(Table1[Revenue])<500))H
How can I change my formula to get this to work as I hope.
[TABLE="width: 62"]
<colgroup><col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"][TABLE="width: 62"]
<colgroup><col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <tbody>[TR]
[TD="width: 82, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]