cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Microsoft
Microsoft

@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
Microsoft
Microsoft

@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

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors