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!View all the Fabric Data Days sessions on demand. View schedule
Solved! Go to Solution.
Thanks. Got an error message with the above DAX. This ended up working ---
You are encountering this error because you are trying to create a measure, but the DAX expression you’ve provided returns a table, not a scalar value. Measures should always return a single value.
If you are trying to create a measure that sums a certain column for those three companies, you might use CALCULATE combined with FILTER. Here is an example assuming you want to sum a column named "Value":
TopLevelValueSum =
CALCULATE (
SUM ( 'SEC'[Value] ),
FILTER (
'SEC',
'SEC'[CompanyDBA] IN { "Company1", "Company2", "Company3" }
)
)
Thanks. Got an error message with the above DAX. This ended up working ---
My answer is correct, you didn't precise if you want to sum or count the rows.
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!