Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Comparison Actual Revenue vs. Past Revenue

Hi there!

 

I generated a comparison between the actual revenue and past revenue of the same month, but 1yr before and, though the total is showing, the monthly analysis is not. Does anyone have an idea what i'm doing wrong?

 

aesantos98_0-1602179410652.png

 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

Did you mark your date table as a date table? I can tell by this icon below that you still have automatic date time intelligence on. That should be off in the options, and right-click on your date table and "Mark as Date Table."

edhans_0-1602180694282.png

Then do you have your date table related to the right date in your sales table? You can see other requirements for the DATEADD() function here.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

3 REPLIES 3
edhans
Super User
Super User

Did you mark your date table as a date table? I can tell by this icon below that you still have automatic date time intelligence on. That should be off in the options, and right-click on your date table and "Mark as Date Table."

edhans_0-1602180694282.png

Then do you have your date table related to the right date in your sales table? You can see other requirements for the DATEADD() function here.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Anonymous
Not applicable

Hi!

 

Tks for the quick help! Well, gotta say that your suggestion itself didn't really change the result. On the other hand though, you brough up the Close Date field and it actually helped me review my Primary and Foreign Key relations, and with that (and selecting the right columns) I got the numbers right! So thanks for, in a way, leading the solution 😃

Great @Anonymous - it is critical the relationships are right!



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.