Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
55 | |
37 | |
35 |
User | Count |
---|---|
85 | |
66 | |
59 | |
46 | |
45 |