Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
AtchayaP
Helper V
Helper V

Powerbi

16564236638915519017459326575903.jpg

This is a column in a table.i want to count this by using delimiter.(comma).

 

 

@Vijay_A_Verma 

1 ACCEPTED SOLUTION
BITomS
Resolver III
Resolver III

Hi @AtchayaP,

 

Under the assumption you have already loaded the column/table to Power Query, you can go to Transform > Split Column > By Delimiter > Comma (Each occurence of the delimiter):

 

OEMTomS_0-1656429771857.png

 

Next you can select all column headers, right click and select Unpivot Columns. This will put all the items in rows:

 

OEMTomS_1-1656429914319.png

 

Finally, apply these step changes and create a DAX measure in your model to count the number of rows (either COUNTROWS or DISTINCTCOUNT). Hope this helps.

View solution in original post

2 REPLIES 2
BITomS
Resolver III
Resolver III

Hi @AtchayaP,

 

Under the assumption you have already loaded the column/table to Power Query, you can go to Transform > Split Column > By Delimiter > Comma (Each occurence of the delimiter):

 

OEMTomS_0-1656429771857.png

 

Next you can select all column headers, right click and select Unpivot Columns. This will put all the items in rows:

 

OEMTomS_1-1656429914319.png

 

Finally, apply these step changes and create a DAX measure in your model to count the number of rows (either COUNTROWS or DISTINCTCOUNT). Hope this helps.

Even simpler, you can expand 'Advanced Options' within the Split Column by Delimiter screenshot and split them to rows, which would skip out the middle step!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors