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.
Hi everyone,
I ran into a problem with the MTD/QTD/ROY selection, the ROY stands for Remaining of the Year, for a forecast calculation. Whenever I click on the QTD and ROY it doesn't return the result I am looking for, while the MTD does. The Dax calculation is,
, the problem is below, I want to return to the remaining of the month of year and able to use prediction for sales and leads
and the relationship model,
Hi @CuriousGuy001 ,
CALEDAR() function of the two parameters are date type, but your RemainingOFtheYear to find out the number of days of the two dates, is a numerical type, if your RemainingOFtheYear want to seek the first day of the current year, you can use Date(Year(Today()),1,1)
If your QuaterStart wants to find the first day of the current quarter, you can use the function with &&QUARTER('Forcast_Plan_2024'[Year 2024])=MAX(QUARTER('Forcast_Plan_2024'[Year 2024])))
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Liu,
I was able to fix the QTD, was missing this "
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 |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |