This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have some dummy data in the two tables below.
I am trying to build measures with the Table 2 data but I want to filter the results to only include "banana" from Table 1. I am unable to get the filter function to work. These two tables would also be connected in my model.
The goal is to count in the RipeTest column and divide the 1s (numerator) with the total count (denominator) but ONLY the bananas.
Solved! Go to Solution.
I couldn't get it to work. I used KEEPFILTERS and I got it working.
Does this get you the result you are looking for?
Proud to be a Super User! | |
I couldn't get it to work. I used KEEPFILTERS and I got it working.
If you are looking for a result like
I created the two tables you provided, without a relationship between them, and then wrote the following measure
Proud to be a Super User! | |
@jgeddes I need to filter out the bananas or the product in the measure because ultimately need a bar chart with a measure for each product.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 40 | |
| 33 | |
| 24 | |
| 23 |