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
Hi all,
I have a table smilar to the attached snapshot. I need to create a metric that shows sum of market transactions (for a selected store) when I select a store in the slicer.
My problem is that when I select a store, Market-sum filetrs shows value of that store and not the entire market of that store.
For example if I select store 21, answer should be 1829 and not 604.
Thanks!
Solved! Go to Solution.
@Anonymous
Try this:
Market Sum =
CALCULATE (
SUM ( 'Table'[Transaction] ),
FILTER ( ALL ( 'Table' ), 'Table'[Market] = SELECTEDVALUE ( 'Table'[Market] ) )
)
Bless you!
Vivek
If it helps, please mark it as a solution
Congratulations would be a cherry on top 🙂
https://www.vivran.in/
Connect on LinkedIn
Since store 21, belongs to Market C. Answer should be sum of Transactions of Market C: 1829
@Anonymous
Try this:
Market Sum =
CALCULATE (
SUM ( 'Table'[Transaction] ),
FILTER ( ALL ( 'Table' ), 'Table'[Market] = SELECTEDVALUE ( 'Table'[Market] ) )
)
Bless you!
Vivek
If it helps, please mark it as a solution
Congratulations would be a cherry on top 🙂
https://www.vivran.in/
Connect on LinkedIn
Hello @Anonymous ,
Please share sample data file/more details around the existing data. The issue is not clear from the description.
Cheers!
Vivek
https://www.vivran.in/
Connect on LinkedIn
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 |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 35 | |
| 34 | |
| 24 | |
| 24 |