I am looking to create a report for finance and I am struggling to get the Median values of the Actuals as I have unpivoted the monthly Snapshot data.
If you look at the Table Picture, I am looking to calculate the median of the values of Actuals for (June 2022, Aug 2022, Sep 2022, Oct 2022 NOv 2022…) and multiply it ny 12 and show the forcast value.
I wrote the formula but didnt work.
Forecast =
VAR A = CALCULATE(MEDIANX(values(Dates[Month and Year]), [Actuals Without Revenue]), ALL(Dates))
VAR B = [YTD Actuals]
Return
CALCULATE(if(a12>B,(a12),B))
Hi @ishoo27.bhardwaj
I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.
A perfect initial question includes all of the following:
- A clear explanation of the problem you are experiencing
- A mockup of the results you want to achieve
- Your current work-in-progress PBIX file
- Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)
Check out this thread on Tools and Techniques for Providing PBIX Files with Your Forum Questions
I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.
Not completing your data may sometimes cause delay in getting an answer.
Thank you!
Hello @ishoo27.bhardwaj ,
We notice that no response was received from you on the post above.
We are waiting for your masked demo pbix file and other supporting links and details so other users can help you in your query.
Due to your inactivity, we’ll be tagging this post as Solved.
Should you wish to add your masked demo pbix file and other supporting links and details, you can reopen this thread.
Thank you!