Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper II
Helper II

SELECTEDVALUE doesn't works when filtering more than one region

Hi guys,


I have 4 regions: NA, LA, APAC, EMEA.


I have this main measure:



This main measure works great if I only filter one region. The problem comes when I filter NORTH AMERICA and Any other region (LA for example). When this happens the main measure only use measure2 to make the calculation, this is because of the SELECTEDVALUE (he only works when only one region is selected).


Do you guys know any other function I can use to be able to filter by NORTH AMERICA and LATIN AMERICA with the result = measure1 + measure2?



Super User
Super User

Hi @tsynenkyy 
The first clause should be testing if Regions 'HASONEVALUE', if so check if SELECTEDVALUE eq NA or LA otherwise return what you would like to display in that case.

Did it work ?  ‌‌ Mark it as a solution to help spreading knowledge
Was this exchange helpful? A kudos 👍 would be appreciated

What I need is:


Filter = NA:

measure1 = 100$


Filter  = LA

measure2 = 200$


Filter = ALL (LA and NA)

measure 1 + 2 = 300$


Here is another way


Replace MyTable with you table name

Did it work ?  ‌‌👍 A kudos would be appreciated 📢 Mark it as a solution to help spreading knowledge

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors