Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
QwertyMartijn
Helper II
Helper II

How to copy values of previous week when matrix cell is empy?

Hey guys,

 

I have the following code to calculate debtors and creditors, and it calculates the correct values:

QwertyMartijn_0-1680593428760.png

QwertyMartijn_1-1680593437958.png

However, if a ask powerbi to slice by week, blanks appear. This is because it takes the sum of all changes in balance (but when there are no changes, there is no data, so it leaves a blank).

QwertyMartijn_2-1680593507835.png

 

How can i fix this in my code?

 

1 REPLY 1
lbendlin
Super User
Super User

To report on things that are not there you need to use disconnected tables and/or crossjoins

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.