Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I would like some help with the following problem. I have a table with sales per day. I would like to calculate MTD sales, however I want the result to change based on a single day time slicer. I am using TOTALMTD function, however, when selecting a single day, the result is only the sales of that specific date, instead of the MTD sum.
For example:
Day | Sales |
1/6 | 100 |
2/6 | 50 |
3/6 | 120 |
4/6 | 200 |
In the above example, when selecting 3/6 as date, the result would be 120, instead of 100+50+120.
Could you please help me with the above? Thank you in advance!
See if the approaches here help:
@Anonymous
User | Count |
---|---|
76 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |