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 September 15. Request your voucher.
Hi
I have a simple Sales table connected to a Calendar table. The Sales table has a "Paiement Date" column connected to the Calendar table.
I have a matrix displaying Years/Months Name with the Total Sales for each Month (a simple sum!).
I'm looking how to retrieve at each Month visible row the value of the previous know under the following constraints:
Thanks for your help.
Hello try to use calculate([your measure],previousmonth([date])
Because the Months are discontinuous your solution doesn't work as it adds new rows (doesn't satisfy my constraint #2).
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
14 | |
8 | |
5 |