The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all, please help to count the websites repeatance in the column , i want the count in each record like how many times the word website is repeated with the help of dax.
Solved! Go to Solution.
please try
Count =
COALESCE ( PATHLENGTH ( SUBSTITUTE ( 'Table'[Names], "'", "|" ) ), 0 )
A LITTLE ERROR FIND IN THE DAX CODE , UNDER THE SUBSTITUE WE HAVE TO USE THE "," THIS , NOT THIS "'" = THIS UNABLE TO COUNT IT BTW THANKS A LOT ITS A EFFECTIVE SOLUTION.
THIS IS GIVING THIS RESULT ITS STILL UNABLE TO COUNT THE REPEATANCE OF WEBSITES STRING IN A SINGLE ROW
please try
Count =
COALESCE ( PATHLENGTH ( SUBSTITUTE ( 'Table'[Names], "'", "|" ) ), 0 )
A LITTLE ERROR FIND IN THE DAX CODE , UNDER THE SUBSTITUE WE HAVE TO USE THE "," THIS , NOT THIS "'" = THIS UNABLE TO COUNT IT BTW THANKS A LOT ITS A EFFECTIVE SOLUTION.
@Aadil_Sharma_Ma
Yes you are right. That was a typo mistake, I was typing on my phone last night.
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |