Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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?
What is the requirement behind this requirement if I may ask?
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |