This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I want to add a column in my database who sums the total revenue for each line of business.
Region Entity Turnover
A 1 10K
A 2 5K
B 3 15K
B 4 5K
So I want to create a column (region turnover) whose result should be:
Region Entity Turnover Region turnover
A 1 10K 15K
A 2 5K 15K
B 3 15K 20K
B 4 5K 20K
However I don't know how to determine a dynamic filter per region so the result of my formula is
Region Entity Turnover Region turnover
A 1 10K 35K
A 2 5K 35K
B 3 15K 35K
B 4 5K 35K
Can you help me?
Many thanks,
Jérémie
Solved! Go to Solution.
Please use the DAX below to achieve your requirement.
RegionTurnover = CALCULATE(SUM(Table1[Turnover]),ALLEXCEPT(Table1,Table1[Region]))
ALLEXCEPT removes all context filters in the table except filters that have been applied to the specified columns.
https://msdn.microsoft.com/en-us/library/ee634795.aspx
Regards,
Charlie Liao
Please use the DAX below to achieve your requirement.
RegionTurnover = CALCULATE(SUM(Table1[Turnover]),ALLEXCEPT(Table1,Table1[Region]))
ALLEXCEPT removes all context filters in the table except filters that have been applied to the specified columns.
https://msdn.microsoft.com/en-us/library/ee634795.aspx
Regards,
Charlie Liao
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |