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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a daily report that has history and forecast data for the hotel. This report has the current year and next years' data. The fields are report_date, history_forecast_date, total_revenue, occupancy, and ADR.
In the Power Bi desktop, I have Matrix visual. It has filters for the year (based on history_forecast_date) and report date (based on report_date). It shows data in months:
How do I find the difference between total revenue for each report_date?
This is for both years being selected. Users can select a single year as well.
Like:
I tried using the quick measure. I couldn't find the solution.
I am not well experienced with a calculated column using DAX.
This is possible in an Excel pivot table. For total_revenue field, We can go to Value Field Settings -> Show Value as (select Different from) -> Base field (select report_date) -> Base Item (select previous).
I have the link below for the Excel file for it. Instead of having two years' worth of data for each day, I have included the total of each month of the year.
Thank you for your help.
Solved! Go to Solution.
Hi,
You may refer to my solution in this PBI file.
Hope this helps.
Thank you, Ashish.
Appreciate your time.
You are welcome.
Hi,
You may refer to my solution in this PBI file.
Hope this helps.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |