Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a table Bounced Emails as follow:
Email Bounce_Type
a@gmail.com hard
a@gmail.com soft
b@gmail.com hard
c@gmail.com soft
As you can see, this table has no unique ID column! E-mails may repeat.
I want to sum over the first 2 columns like this.
Email Hard count Soft Count
a@gmail.com 1 1
b@gmail.com 1 0
c@gmail.com 0 1
I tried group by options but it did not yield good results.
Could somebody help me?
Thanks!
Freelensia
Solved! Go to Solution.
I ended up doing this:
I ended up doing this:
Hi,
Create a matrix visual. Drag Email to the row labels, Boune_type to the column labels and write this measure
=COUNTROWS(Data)
Hope this helps.
I think you could do that with 2 measures. 1 for each (hard, soft), the idea would then be to setup an IF statement to populate the field if it is hard or soft.
So a calculation you could do would be
ishard = If(Table1[BounceType] = "hard", 1, null) issoft = If(Table1[BounceType] = "soft", 1, null)
last step would just be to count the values
Thanks for the answer!
Sorry but I am completely new to PQ. Could you provide a bit more details on each step?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |