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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
This seems like it should be so easy, but not for me at least.
I need to count the number of times a name appears in a list so I can add another column with the results as shown below. I will use the count for other calculations.
Thanks much!
Solved! Go to Solution.
@BudMan512 Like:
Count (Column) =
VAR __Name = [Name]
RETURN
COUNTROWS(FILTER('Table',[Name] = __Name))
@BudMan512 Like:
Count (Column) =
VAR __Name = [Name]
RETURN
COUNTROWS(FILTER('Table',[Name] = __Name))
Sorry for the extra messages, when I used the formula with my live data with additional columns, it worked beautifully. Just what I wanted.
Thanks again,
I spoke too soon 🙂
I got this in the Data view which is what I want.
But I got this in the Report view which is not what I want.\
Any way around this?
Thanks
Thank you Greg, much appreciated!