Forum Discussion
Subsets with measures
The pbix you sent had a single table while the measure in your screen shot has multiple tables, so it wasn't represetative of your data model. If you can't send the actual pbix file, please provide a screen shot of the diagram view/data model, so we can see the relationships between these tables.
Regars,
Pat
- Ritesh_Air6 years agoPost Patron
- mahoneypat6 years agoMicrosoft Employee
Not sure if there is a record for the most back and forths, but, since the returns and sales are on different rows, we need some way to filter out the sales rows that have >0 returns. You did that in the visual with a filter on the Returns measure, and I tried to do that with the FILTER(ALLSELECTED( ) on Product Brand (to replicate what you did in the visual). What else do the rows have in common? Is there a parent sale ID or something that associates them?
Signing off soon for the night. I will pick it up tomorrow, if someone else doesn't give a solution first.
Regards,
Pat