Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
The quantity has multiple values occuring on a single date and I wanted to find out the count of resources where the sum for a day is more than 23.
Data:
Date | Resource | Quantity |
4-1-2023 | A | 17 |
4-1-2023 | B | 24 |
4-1-2023 | A | 6 |
4-1-2023 | C | 15 |
4-1-2023 | A | 1 |
5-1-2023 | A | 16 |
5-1-2023 | B | 24 |
5-1-2023 | A | 4 |
5-1-2023 | C | 10 |
5-1-2023 | A | 4 |
Instead of giving count as 1 (only A) on 4-1-2023 and 5-1-2023 I want the result to be 2 (A & B) as sum of quantity of B is more than 23 (24).
What should I do?
Thanks in advance
Solved! Go to Solution.
hi @Sar_Aan ,
try to plot a table visual with date column and a measure like:
measure =
COUNTROWS(
FILTER(
VALUES(data[Resource]),
CALCULATE(SUM(data[Quantity]))>23
)
)
it worked like:
hi @Sar_Aan ,
try to plot a table visual with date column and a measure like:
measure =
COUNTROWS(
FILTER(
VALUES(data[Resource]),
CALCULATE(SUM(data[Quantity]))>23
)
)
it worked like:
And I need to show the count for the month of April which should be 4.
User | Count |
---|---|
64 | |
55 | |
46 | |
31 | |
31 |
User | Count |
---|---|
84 | |
74 | |
49 | |
48 | |
41 |