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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors