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! It's time to submit your entry. Live now!
Hello,
I was wondering whether it's possible to filter out certain values from a column without using any aggregate function. Here's what i currently have:
Incoming Messages =
CALCULATE (
COUNTA( ps_IncomeMessages[MessageType]),
ALL ( ps_IncomeMessages[MessageType] ),
'ps_IncomeMessages[MessageType] = ("01 - Text Message")
|| ps_IncomeMessages[MessageType] = ("02 - MMS Message")
)
I basically want the new column, "Incoming Messages" (in the data model), two include only these 2 values (out of 6 possible values) without counting the rows or summarize, etc'.
Thanks!
Solved! Go to Solution.
Remove your ALL clause.
Remove your ALL clause.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 35 | |
| 23 | |
| 22 |
| User | Count |
|---|---|
| 134 | |
| 103 | |
| 57 | |
| 43 | |
| 38 |