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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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