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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
415149
New Member

Matrix fill cells for items with no record for a certain date

Hello,

 

I'm trying to show month to month changes in a matrix visual. Some items are new (didn't exist and don't have records for previous months) and some are old (no longer exist and don't have records in the last month). Below is an example data table.

BE7835CA-3E15-4A3C-8772-68FD799C5C45.jpeg


And the result matrix I'm getting.

96BCA3C5-CBD6-4198-9F5F-768067214DED.jpeg

Although the totals seem to be correct, the item a102 has blank cells for 31/01/2022. Similarly, item a103 has blank cells for 31/12/2021. Is there a way to fill those cells with the correct values? 

This is the expected output:

56E3BF6F-7FA2-40D7-A86F-908BC91C40DC.jpeg

 

Thanks

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @415149,

Have you tried to add +0 to your formula to replace the blank result with zero?

If these do not work, it means your records not include in your table, you may need to manually create an unconnected table with all date value and use it on column fields.
After this step, you can write a formula to look up row table records based on the current category and date value and replace the not existing value with zero.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.