Forum Discussion

MCornish's avatar
MCornish
Responsive Resident
6 years ago
Solved

Sum is excluding rows

Ok, tricky one this time.

 

I have a product table (roughly 13K products). I have another table that lists our promotions. In between these table sits a table that contains the promotion and every product on that promotion.

 

If I pull in the promotion and products into a table I get what I expect:

 

when I add a measure the BAB009 disappears because it had no sales.

 

 

If I select "Show items with no data", i get ALL products, even thise that are not on the promotion

 

 

Any ideas?

  • Answered my own question.

     

    Created a "Count Products" measure that just does a count from the bridge table and used that as a filter on the table where it must be greater than 0.

     

    Also left the "Show items with no data" on

     

1 Reply

  • MCornish's avatar
    MCornish
    Responsive Resident

    Answered my own question.

     

    Created a "Count Products" measure that just does a count from the bridge table and used that as a filter on the table where it must be greater than 0.

     

    Also left the "Show items with no data" on