Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

If with dates from excel in Power BI

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 🙂

 

2 REPLIES 2
dax
Community Support
Community Support

Hi Natalia_ 

I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

sturlaws
Resident Rockstar
Resident Rockstar

Hi,

 

could you create an excel sample file with some data and the formula? Upload it to onedrive/dropbox/other and share the link

 

br,

S

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.