Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
You may download my PBI file from here.
Hope this helps.
So a running total is generally constructed along the lines of
Measure =
VAR __Date = MAX('Table[Date])
COUNTROWS(
FILTER('Table',[Level] = "Medium" && 'Table'[Date] <= __Date)
)
Column would be:
Column =
VAR __Date = [Date]
COUNTROWS(
FILTER('Table',[Level] = "Medium" && 'Table'[Date] <= __Date)
)
But sample data would help to make sure. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Thanks Greg
Unfortunately still struggling........
not sure about " __Date)" what this underscore line refers to? and "'Table'[Date] " here the date column is from the same table,
Can you pls one more assist, thanks
Following is the sample of data, again,
| ID | Year | level | Date |
| 114190002400 | 2019 | Medium | 9/7/2019 |
| 114190002420 | 2019 | serious | 9/10/2019 |
| 114190002440 | 2019 | Medium | 9/14/2019 |
| 114190002440 | 2019 | light | 9/14/2019 |
| 114190002460 | 2019 | Medium | 9/17/2019 |
| 115190000260 | 2019 | light | 9/24/2019 |
| 114190002461 | 2019 | Medium | 9/17/2019 |
| 114190002480 | 2019 | Medium | 9/19/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | light | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004480 | 2019 | Medium | 6/7/2019 |
| 116190004481 | 2019 | Medium | 6/8/2019 |
| 116180001881 | 2018 | Medium | 3/19/2018 |
| 116180001881 | 2018 | Medium | 3/19/2018 |
| 116180001881 | 2018 | Medium | 3/19/2018 |
| 116180001881 | 2018 | death | 3/19/2018 |
| 116180001881 | 2018 | Medium | 3/19/2018 |
| 115180000320 | 2018 | Medium | 3/21/2018 |
| 116180001920 | 2018 | light | 3/20/2018 |
| 116180001940 | 2018 | Medium | 3/21/2018 |
| 116180001980 | 2018 | death | 3/21/2018 |
| 116180001980 | 2018 | Medium | 3/21/2018 |
| 101180000080 | 2018 | light | 3/16/2018 |
| 101180000080 | 2018 | light | 3/16/2018 |
| 116180001961 | 2018 | Medium | 3/21/2018 |
| 114180000800 | 2018 | Medium | 3/22/2018 |
| 116180001960 | 2018 | Medium | 3/21/2018 |
| 116180001981 | 2018 | light | 3/21/2018 |
| 116180001982 | 2018 | Medium | 3/21/2018 |
| 116180001983 | 2018 | serious | 3/21/2018 |
| 114180000780 | 2018 | Medium | 3/20/2018 |
| 114180000920 | 2018 | Medium | 4/12/2018 |
| 116180002240 | 2018 | Medium | 4/12/2018 |
| 201180001080 | 2018 | Medium | 4/13/2018 |
| 112180000400 | 2018 | light | 4/12/2018 |
| 112180000400 | 2018 | Medium | 4/12/2018 |
| 302180000080 | 2018 | death | 3/20/2018 |
| 302180000080 | 2018 | serious | 3/20/2018 |
| 302180000080 | 2018 | death | 3/20/2018 |
Hi
I tried the following
You should delete the parentheses around data in your Filter.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |