Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
94 | |
89 | |
79 | |
77 | |
71 |
User | Count |
---|---|
116 | |
107 | |
88 | |
64 | |
63 |