The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I am trying to get a rolling total of $ Values over the previous 3 months, I've been able to get this to work with the code below, but my problem now is when trying to filter for different offices, it will not filter. It just stays the total rolling 3 months. Is there something wrong with the code?
Solved! Go to Solution.
try use all+values
ALL ( '4 Year Bookings'),
VALUES('4 Year Bookings'[Office],
because filters are ignored by ALL ( '4 Year Bookings'), try to leave it out
I did try that, and then the rolling 3 month total that does work stops working. The only way I've been able to succesfully calculate the last 3 month values is by having the 'ALL' option, but then it breaks the filter.
try use all+values
ALL ( '4 Year Bookings'),
VALUES('4 Year Bookings'[Office],
Wow! That did it! What a simple change, but made all the difference. Thanks FreemanZ, as a newbie to this, it has been has stumping me for days!
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |