Forum Discussion

dado's avatar
dado
New Member
2 years ago

Building a overlap Matrix in PBI

Hi, 

 

I'm trying to build an overlap matrix that shows the count of overlapping items (their DISTINCT COUNT) being sold at different stores, but can't seem to figure it out and couldn't find anything when searching for it in this forum. Here is an example of what the table should look like plus adding some highlighting (gradient cells) to almost having some sort of a heatmap.

Store Item Overlap CountStore1Store2Store3Store4
Store 11000200100500
Store 220050050360
Store 310050200100
Store 4500360

 

100

750

 

This is the dataset I'm working with, which doesn't have any counts in them so it's possible to differentiate:

StoresItem ID
Store 1  x123456789

Store 2 

 x123456789
Store 3  a98765432
Store 4  a98765432
Store 2  a98765432
Store 3  c328291733
Store 1 o329172789
Store 4 o329172789
......

 

I'd be happy to get some help on this or just some tips on how to tackle this as I feel stuck with this issue.

 

Thanks!

 

 

2 Replies

  • Hi! How about something like this where you show the products in rows and in columns the stores so you can quickly see how many stores carry the same item? 

     

     

    • dado's avatar
      dado
      New Member

      Hi, that would be an option if the number of items wouldn't be significant. In my case we have a couple thousand items so the view would be not ideal and having a general overview on the overlapping item count is best.

      Thank you!