Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi
I would like to describe a problem in simplified form.
I have a fact table with transactions, that is linked to a country-tabel by country-key. Country - Fact = one to many.
Every transaction is counted as 1 in my explicit measure [Sum of Transactions].
The country-table contains country-key and country-code.
Country-code can be FR, IT, IE etc.
Now I want to make two rows in a matrix with [Sum of Transactions]:
What is the best and easiest way to solve this if I can't change the country-table in the source?
Add another column to the view with ES-transactions and not-ES-transactions?? (this division will always be made, since ES is home country)
Add a calculated column to the country-table in Power Query? This column has two values: 'ES' for country ES and 'non-ES' for all other countries.
Create two extra measures with the DAX RELATED function, one [Sum of ES Transactions], one [Sum of non-ES transactions]?
How would this DAX formula look like?
Or is using grouping in the country table an option? Group 1 = ES, group 2 = non-ES
I don't know what is the best option and if there are even better options. Hope someone can help.
regards
Ron
@PowerRon Create 2 measures and use "Show as rows"
thnx for your answer.
But how would the measures look like then? And what do you mean with "Show as rows"?
Is it possible to help me a little bit, because it is not completely clear to me
regards
Ron
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.