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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I'm a new user to Power BI and trying to replicate some functionality that I use in Excel.
Using an existing Excel table which has entries of A1:A10.
I use the following =Countif(A:A,A1) in cell B1, which I then copy down to the end of the data B10
Against each row (B1:B10) it would then show how many times the text in the referenced cell appears in the array.
I want to try and replicate this in power query.
I've searched and searhced but can't find anything that gives me the individual answers.
Many thanks Lee
Solved! Go to Solution.
Hi @LeeM ,
Please create the new column.
Column = COUNTROWS(FILTER('Table','Table'[Name] = EARLIER('Table'[Name])))
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LeeM ,
Please create the new column.
Column = COUNTROWS(FILTER('Table','Table'[Name] = EARLIER('Table'[Name])))
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
can you post an exemple in excel?
Hi serpiva64, I've updated the original post with an example. Thanks Lee
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.