Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good day,
I trying to create a measure, that calculates the sum of General Ledger amounts ('GL Entries'[G_LEntries.Amount]) up to the last date of each month, based on column 'GL Entries'[G_LEntries.Posting_Date].
I. e.: on 2020-02-29, it should sum up everything where 'GL Entries'[G_LEntries.Posting_Date] <= than 2020-02-29, on 2020-03-31 'GL Entries'[G_LEntries.Posting_Date] <= than 2020-02-29, and so on for all months.
I am ataching a example PBI file in the link below:
https://www.dropbox.com/s/jlapxus5a3i6kee/Example.pbix?dl=0
Any ideas, how I could achieve the desired result? It should look something like this, but should include all the months, not just the ones with data:
Solved! Go to Solution.
I managed to solve it myself. Used this filter:
I managed to solve it myself. Used this filter:
@Anonymous , datesmtd with a date table
example
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
Power BI — Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA
Thank you, but ir gives the same result:
The result should not be decreasing and should also include months, that do not have data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |