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 Everyone,
I need your help on this,
I,ve been trying to get a running total from this table
I didnt get how to calculate the profit per month and I want to get the running total per month restarting every year like this table:
If you dont get my explanation I would try and explain better
Any help would be appreciated.
https://drive.google.com/file/d/1htXjhknwwPlLUSS5YOQJFU0i6Fzvx1F5/view?usp=sharing
Solved! Go to Solution.
Hi @ENGFAKAYODE ,
The best option when you are dealing with dates is to create a calendar table use it in a relationship with your fact table and then create the measures based on that calendar table.
For this case you need to add the following measure:
Total YTD = TOTALYTD(CALCULATE(SUM(Orders[Profit])), 'Calendar'[Date])
See PBIX file attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @ENGFAKAYODE ,
The best option when you are dealing with dates is to create a calendar table use it in a relationship with your fact table and then create the measures based on that calendar table.
For this case you need to add the following measure:
Total YTD = TOTALYTD(CALCULATE(SUM(Orders[Profit])), 'Calendar'[Date])
See PBIX file attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |