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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.