Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to create a measure which sums values of different columns based on filter. Say I have 2 tables:
Currency table
| CurrencyCode |
| USD |
| EUR |
Sales table
| RevenueUSD | RevenueEUR |
| 10 | 9 |
| 50 | 47 |
I need to create a measure that would SUM the revenue from appropriate column when Currency table is applied as filter (i.e. when it's set as USD - measure sums RevenueUSD column, when it's set as EUR - measure sums RevenueEUR column). Is there any way to achieve this?
Thanks for help
Solved! Go to Solution.
Hello @nesisekasi,
Please find the below solution that works. Also, please note this will work only for Single Selection in the Filter:
Here is the formula for the measure:
Please mark this as solution if it helps.
Thank you,
Pradeep Chowdavarapu
"Even if no one believes you can,
YOU GOT TO BELIEVE YOU CAN."
Hello @nesisekasi,
Please find the below solution that works. Also, please note this will work only for Single Selection in the Filter:
Here is the formula for the measure:
Please mark this as solution if it helps.
Thank you,
Pradeep Chowdavarapu
"Even if no one believes you can,
YOU GOT TO BELIEVE YOU CAN."
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |