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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
manav_agarwal
New Member

How do I dynamically change a measure value based on a selected value and comparing it a column?

Hi,

 

I am new to Power BI and hence confused with how to approach this problem.

 

I have 2 Tables one containing Information about stores across the globe and one containing sales information.

Now I have 5 countries namely

USA

France

UK

Germany

Australia

 

Now suppose I select 'USA' in the filter (which will contain only one value),

I want a DAX that can label all sales in 'USA' as 'Domestic' and everying else as 'International'.

Likewise when I select 'UK', 'UK' becomes 'Domestic' and everything else is labelled as 'International'.

 

Is this possible to achieve?

1 REPLY 1
stevedep
Memorable Member
Memorable Member

What is the requirement behind this requirement if I may ask?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.