The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!