Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have transactions that occur on the same date without any timestamps and I created an index to get the most recent transaction on that date.
Now I want to be able to get the ending balance of each month according to this index such as the highlighted. How should this be done?
Solved! Go to Solution.
I figured out the solution.
There is a few ways.
1. Create a flag for the last transaction date of the month and use that as the filter
2. Rank on Month-Year and date a choose on desc and choose one
3. Try a formula like this. This should also work on the amount or other values.
LAst Date = CALCULATE(max(Sales[Sales Date]), FILTER(Sales,Sales[Sales Date]=max(Sales[Sales Date])))
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
I don't want the maximum amount, I want the last amount according to the index.
I figured out the solution.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
124 | |
76 | |
74 | |
58 | |
48 |
User | Count |
---|---|
165 | |
83 | |
68 | |
67 | |
55 |