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! Request now
Hi,
I need to make a measure that includes all rows in a specific column except 2 specific rows or names.
formula:
Solved! Go to Solution.
Hi @Anonymous
Can you please share some data
Regards
Affan
| Table1 | ||
| Country | Sales Actual | Sales Budget |
| Denmark | 150 | 154 |
| Canada | 139 | 83 |
| USA | 200 | 165 |
| Brazil | 30 | 40 |
| France | 80 | 90 |
Could be something like this.
Then if i sum this i get 599 in sales actual and sales budget 532
but if i want to sum this in a measure while filtering out Brazil and Canada, how can i do this?
it has to be in a dax measure and not using the report, page or visual filter pane.
Sales Actual = Calculate(sum(table1,Sales Actual), FILTER.... exclude Brazil and Canada....
I'm trying to do the same thing. I don't have to sum, I just neeed to exclude 2 values without using the sum function. What would be the syntax for that? @HotChilli
All DAX measures have an aggregation of some type e.g. SUM, MIN
If you are just trying to restrict table entries in a visual you can probably use the filter pane or a slicer
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 |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 47 | |
| 44 |