Forum Discussion
Stop Cumulative count curve
Hi, thanks for the response. getting closer now.
I dont have the option to attached the file.
I think I cant get the same result since my count data is measure.
So, assume in your file the value table has three columns, as below. I want to count the cumulative value of "Issued" and "planned" as two curve over the date
| Document | Criteria | Date |
| A | Issued | Friday, 19 June 2020 |
| B | Planned | Monday, 8 June 2020 |
| C | Issued | Friday, 26 June 2020 |
| D | Issued | Monday, 8 June 2020 |
| E | Planned | Friday, 5 June 2020 |
| F | Issued | Monday, 8 June 2020 |
| G | Issued | Friday, 26 June 2020 |
| H | Issued | Thursday, 11 June 2020 |
| I | Planned | Monday, 15 June 2020 |
| J | Planned | Tuesday, 30 June 2020 |
| K | Planned | Friday, 3 July 2020 |
| L | Planned | Thursday, 11 June 2020 |
| M | Issued | Monday, 15 June 2020 |
Hi amirghaderi ,
Try like this measure:
Issued Count =
IF (
SELECTEDVALUE ( 'Table'[Date] )
<= CALCULATE (
MAX ( 'Table'[Date] ),
FILTER ( ALL ( 'Table' ), 'Table'[Criteria] = "Issued" )
),
CALCULATE (
COUNT ( 'Table'[Date] ),
FILTER (
ALL ( 'Table' ),
'Table'[Date] <= MAX ( 'Table'[Date] )
&& 'Table'[Criteria] = "Issued"
)
)
)
Attached my sample file that hopes to help you: Stop Cumulative count curve.pbix
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- amirghaderi6 years ago
Helper IV
Hi,
Still the same issue as below:
- v-yingjl6 years ago
Community Support
Hi amirghaderi ,
Could you please share a sample file for further discussion? Please remember to replace the sensitive information when sharing sample file.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- amirghaderi6 years ago
Helper IV
Hi,
How can I attached PBI file? I cant find any attachment option.