We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all, not sure if this is can be done in Power BI. Hope someone can give me some suggestions:
I have a table below where the Current_Debt and Old_Debt are changed time to time, this table was refreshed every monday in my powerBI desktop.
| Account_number | Current_Debt | Old_debt |
| 1001 | 0 | 12 |
| 1002 | 28.34 | 234 |
| 1003 | 296.7 | 0 |
| 1004 | 654 | 6 |
| 1005 | 0 | 8 |
| 1006 | 77 | 9 |
| 1007 | 0 | 0 |
Also, I want to create a table called weekly_change, so when the table above refreshes, it will automatilcly sum the current_debt where current_debt is not 0 and also count of account number, and sum of Old_debt, then insert the table weekly_change, the date value would be the time when we refresh the table.
Weekly_change
| Date | Account_number | Current_debt_sum | Old_debt_sum |
| 30/04/2021 | 3 | 979.04 | 246 |
| 3/05/2021 | |||
Would it be possible to do that in power query?
Thanks so much
Hi @Anonymous ,
Will the weekly data be saved in the table or will the data in the table be directly updated when a new date is reached? In addition, is there any date column to indicate which date the data belongs to? What is the calculation logic of the table you want to get in the end? Is it a summary value(0+28.34+296.7+654+...)?
Best Regards
@Anonymous , base on what I got. See if these Dax append method can help
https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-data-to-it-using-incremental-refresh/
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |