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! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |