Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
70 | |
70 | |
34 | |
23 | |
22 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |