The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I am having a hard time to create a DAX formula that will create a projection of when a project will be completed based on how much is being Earned per month. I am trying to achieve something like the table below, where Power BI would detect the last month the Contractor earned something (2021 May), and then it would do two things:
1- Calculate the amount of months remaining at the given Average Earned so far
2- Project the Average Earnings for the remaining months.
I had no issue on getting item 1, however I am still having a hard time to get the Average projected through the remaining months to complete.
Any ideas ?
Thanks,
Solved! Go to Solution.
1 create a date table, mark it as date table, and create a column of "YearMonthNumber"
2 create a relationship between fact table and date table with date columns
3 create two measures
1 create a date table, mark it as date table, and create a column of "YearMonthNumber"
2 create a relationship between fact table and date table with date columns
3 create two measures
Thank you very much Daniel, it worked perfectly ! I am still kind trying to understand the magic you've done to create the logic in which Power BI would project these values forward, but I am very happy with your solution.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
18 | |
18 | |
18 | |
14 |
User | Count |
---|---|
42 | |
35 | |
23 | |
20 | |
20 |