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
Hello All.
We are creating a report and again need your help. Don't know how to convert formula from excel to power bi.
in excel it should look like IF YTD = month 6 , YTD (6), YTD – YTD
Only this idea appeared for POwer BI, but it, of course, doesn't work:
IF (lastday( Dates[Dates]) < MONTS () , CALCULATE ( SUM() – SUM(previous month )
Thanks a lot for your help 🙂
Hi @Anonymous ,
Could you please share some sample data and the expected output? It is helpful for us to understand your requirement and solve it as soon as possible.
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
Moreover, you could reference this thread firstly.
https://community.powerbi.com/t5/Desktop/YTD-of-years-until-today/td-p/442182
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
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 |
|---|---|
| 65 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 72 | |
| 55 |