Forum Discussion
A simple formula but the data structure is different
Hello everyone
I have this formula:
Here:
Attaches a photo
Hi netanel
Please download this file:
Let me know if you have any questions.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
6 Replies
- VahidDM
Super User
Hi netanel
Do you have any columns with dates in your table?
If yes, try using TOTALMTD to find MTD and then add Date Source="Budget 2021" to the filter section to find the "MTD Sales for Budget 2021".
Something like this:
Diff$ Budget = TOTALMTD(SUM([Net USD]),[Date Column])-TOTALMTD(SUM([Net USD]),[Date Column],[Date Surce]="Budget 2021")
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- netanel
Post Prodigy
In general I think this is really the way to a solution for me
(I have a DIM table of dates)
I try according to what you have written and something falls
This is the formula I writeDiff$ Budget = TOTALMTD(SUM([Net USD]),'Revenues DB'[Date])-TOTALMTD(SUM([Net USD]),'Date'[Date],'Revenues DB'[Date]="Budget 2021")- VahidDM
Super User
Hi netanel
Can you please share a sample of your data and connection between tables? [after removing sensitive data]
More Important, can you please add more details on how you want to show the result?is that just a number or do you want to show that in a table?Appreciate your Kudos!!