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
Hello, Im new to Power Bi , and I need help. I want to create column and count how many ID's begins with _A.
Example:
ing-WoX8/1/1_A1385556-Xdu Trou6_A1407390-Maon - 2
S5/1/1_A1385448-VALENANI - 1
tton Bld-1KN/5_A1400101-FONth/2/1_A1428673-GIANSSI_A153748 - 3
thank you!
Solved! Go to Solution.
Hi @andrius_pfa ,
you can use this formula for creating this column.
_A count =
VAR Search_string = "_A"
RETURN
DIVIDE(
LEN('Table'[Value]) - LEN(SUBSTITUTE('Table'[Value],Search_string,BLANK())),
LEN(Search_string),
0
)
Regards
Hi @andrius_pfa ,
you can use this formula for creating this column.
_A count =
VAR Search_string = "_A"
RETURN
DIVIDE(
LEN('Table'[Value]) - LEN(SUBSTITUTE('Table'[Value],Search_string,BLANK())),
LEN(Search_string),
0
)
Regards
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 |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 14 | |
| 14 |