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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Here is my data table:
| Buyer ID | Buyer Name | Credit Limit ($) | File Date |
| 001 | ABC | 2000 | 2024-01 |
| 001 | ABC | 1000 | 2023-12 |
| 001 | ABC | 1000 | 2023-11 |
| 002 | DEF | 5000 | 2024-01 |
| 003 | GHI | 4000 | 2023-12 |
| 003 | GHI | 3500 | 2023-11 |
I want to add a column to get the credit limit of last month of File Date, so that the new table will be:
| Buyer ID | Buyer Name | Credit Limit ($) | File Date | Last Month Credit Limit($) |
| 001 | ABC | 2000 | 2024-01 | 1000 |
| 001 | ABC | 1000 | 2023-12 | 9000 |
| 001 | ABC | 900 | 2023-11 | |
| 002 | DEF | 5000 | 2024-01 | |
| 003 | GHI | 4000 | 2023-12 | 3500 |
| 003 | GHI | 3500 | 2023-11 |
Could you please teach me what DAX I can use in order to get the new column?
I tried to create a new column to show Last File Date using PREVIOUSMONTH, then add another column to get the limit by using LOOKUPVALUE, but there are circular dependencies detected.
Please help! Thank you very much!
Solved! Go to Solution.
make sure the file date is in date type and create a column
Proud to be a Super User!
make sure the file date is in date type and create a column
Proud to be a Super User!
Thank you so much!! I successfully added the desired column!
you are welcome
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 76 | |
| 41 | |
| 26 | |
| 26 |