Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Please need help. I have a matrix table that looks like this
(Measure)Previous month = CALCULATE(SUM('Revenue RAW'[AMORT_AMOUNT]),PREVIOUSMONTH('Calendar Table'[Period]))
Solved! Go to Solution.
see if the attached helps you.
Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. Screenshots of your source data are not useful.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Apologies, here are the sample tables:
Revenue Table
| PeriodRev | Account_No | Item | Amort Amount |
| 2022-05 | 200000099 | DSZAM | 931.51 |
| 2022-05 | 200000188 | DSZAA | 859.17 |
| 2022-05 | 200000218 | DSZAM | 931.51 |
| 2022-05 | 200000293 | DSS8A | 232.73 |
| 2022-06 | 200000099 | DSZAM | 907.77 |
| 2022-06 | 200000188 | DSZAA | 831.46 |
| 2022-06 | 200000218 | DSZAM | 907.77 |
| 2022-06 | 200000293 | DSS8A | 225.22 |
OPM Table
| PeriodOPM | Account_No | Item | Movement |
| 2022-04 | 200000099 | DSZAM | Installs |
| 2022-04 | 200000188 | DSZAA | Recon |
| 2022-04 | 200000218 | DSZAM | Installs |
| 2022-05 | 200000293 | DSS8A | Installs |
Result Table (should be in Matrix)
Again, I wanted all measure or calc columns to be in one row per account. The movement column is finding the movement of the account from the revenue table to the OPM table for the past 3 months(specifically 3 months beyond only) and if there are any installs. Criteria: same account and items. Other columns should be self-explanatory.
I hope this clarifies my concern. Thank you!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |