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
PhotoRonin
Frequent Visitor

Grouping data to identify and show conflicts

I have a data set that I'm trying to evaluate, but can't figure out how to get the results that I know are there!  I have a CSV data set of a listing of files in directories in different domains, as an example:

NetLogonPathNameSizeDomainFullNameCreatedOn ModifiedOn
temp.cmdtemp.cmd24something.com\\something.com\NETLOGON\temp.cmddatedate
temp.cmdtemp.cmd24test.something.com\\test.something.com\NETLOGON\temp.cmddatedate
Scripts\what.batwhat.bat243234234something.com\\something.com\NETLOGON\Scripts\what.batdatedate
Scripts\what.batwhat.bat243234234test.something.com\\test.something.com\NETLOGON\Scripts\what.batdatedate
Scripts\what.batwhat.bat164000huh.something.com\\huh.something.com\NETLOGON\Scripts\what.batdatedate
Scripts\what.batwhat.bat243234234poo.something.com\\poo.something.com\NETLOGON\Scripts\what.batdatedate

 

What I want to see out of this data is something like:

NetLogonPathInstancesSizeDomains
temp.cmd224something.com, test.something.com
Scripts\what.bat3243234234something.com, test.something.com, poo.something.com
Scripts\what.bat1164000huh.something.com

 

Based on above, I'd like the "NetLogonPath", size, and number of instances of each item that has the same "NetlogonPath" and "Size", and consolidating the "domain" fields into a single result.

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@PhotoRonin,

Create the following measures in your table.

Instances = COUNTA(Table[Name])
Domains = CONCATENATEX (VALUES(Table[Domain]), Table[Domain], ", ")

Then create the table visual as follows, make sure that you choose “Don’t summarize” for Size.
1.JPG


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@PhotoRonin,

Create the following measures in your table.

Instances = COUNTA(Table[Name])
Domains = CONCATENATEX (VALUES(Table[Domain]), Table[Domain], ", ")

Then create the table visual as follows, make sure that you choose “Don’t summarize” for Size.
1.JPG


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.