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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I am looking for assistance on how to solve the following functon in both Power BI and Power Query.
Thank you!
Solved! Go to Solution.
Hi @mdrammeh,
Based on my test, your formula should work in Query Editor, Custom Column under Add Column tab.
Regards
Hi @mdrammeh,
Based on my test, your formula should work in Query Editor, Custom Column under Add Column tab.
Regards
Thanks for answering my question!
You are trying to use Power Query "M" functions in DAX. You can't do that.
You want to use functions from here:
https://msdn.microsoft.com/en-us/library/ee634396.aspx
Specifically, probably the DATEADD function or something like it:
https://msdn.microsoft.com/en-us/library/ee634905.aspx
Refer to my blog article here on the Languages of Power BI
https://community.powerbi.com/t5/Community-Blog/The-Languages-of-Power-BI/ba-p/69104
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.