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
I have a chart that is group/categorized by month and year(Start Date column from table 1). I have two tables (Table 1 and Table 2) where both have the Start Date column. I want to show the division of the sum of amount column from Table 1 and the running total of the count of rows per category i.e. grouped by month and year.
Please let me know how can achieve this. Thanks for your help in advance.
Solved! Go to Solution.
@gaurav21791
I assumed you have a model with correct relationship, you can create the following measure and put on the graph in the values field.
Measure = Divide(
Sum(Table1[Amount]),
Calcuate(countrows(table2),Filter(Allselected(table2), [Date]<=MAX([Date])&&[Cateogry]=Max(Category])))
)
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@gaurav21791
I assumed you have a model with correct relationship, you can create the following measure and put on the graph in the values field.
Measure = Divide(
Sum(Table1[Amount]),
Calcuate(countrows(table2),Filter(Allselected(table2), [Date]<=MAX([Date])&&[Cateogry]=Max(Category])))
)
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Please follow the recommendations outlined in this thread:
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Proud to be a Super User!
Paul on Linkedin.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 46 | |
| 44 | |
| 28 | |
| 19 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 71 | |
| 55 |