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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear friends
how can i create calculated column that shown no. of rows that contain values or text in column for each specific reference number
Example.
| Ref. number | Values | calculate column |
| 1111 | a | 2 |
| 1111 | b | 2 |
| 1111 | ||
| 2222 | c | 1 |
| 2222 | ||
| 3333 | b | 1 |
| 3333 |
thanks in advance for any suggestions
Solved! Go to Solution.
@Anonymous , Create a new column like
countx(filter(Table, [Ref. number] =earlier([Ref. number]) && not(isblank([Values]))),[Values])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 51 | |
| 45 |