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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jkpf23
Regular Visitor

How to check if the values filtered in one column covers all rows of group build on another column

Hi,

 

I got a problem with creating the measure that could tell me if all values filtered by one filter on a single columns, covers all values of this specific segment they belongs to (segments in another columns). 

 

Let me explain that on example:

 

I got structure table - each retailer belongs to the country and countries belongs to regions. 

jkpf23_1-1611226106937.png

On the report I got one filter - retailer, with multiple selection option.

jkpf23_2-1611226203403.png

 

I would like to have a measure that could tell me on which granularity level the report stands after using filter above (levels: global, region, country, retailer). 

So if the user will select all the retailers from Russia, let's say, I would like the measure to return 'region', as all the retailers from Russia are selected and at the same time EEU is fully selected, as all the 'full' countries from EEU are selected (only Russia for now). But if in the EEU was another country, I would like the measure to return 'country', as the maximum 'full' level is country (Russia is 'full', but EEU not).

 

If there are two retailers selected from different countries - ex. beru.ru and bol.nl, then the measure should return 'retailer' as there is no any 'full' country nor the region. 

 

At the same time I would like it to display retailer level if there is more than one region selected (even if retailers creates two 'full' regions, or two 'full' countries from different regions)

 

If that is even possible?

 

Thanks for your help! I really can't figure it out and really need that 🙂 

1 REPLY 1
lbendlin
Super User
Super User

Here are the functions that you need to resolve this

 

FILTERS()

VALUES()

ISFILTERED()

ISINSCOPE()

 

Please provide sample data in usable format and show the expected outcome.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.