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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
labuser1235
Helper IV
Helper IV

Distinct column name values from 3 columns and lookup for values

Hi All,

 

I have table1 which has 7 columns and I would like to only get distinct name columns and provide values as per Names. Please help.

 

Table1:

DatePrimary Audit NameTime Spent by Primary AuditSecondary Audit NameTime Spent by Secondary AuditTertiary Audit NameTime Spent by Tertiary Audit 
1/31/2020Name12Name73Name32
1/31/2020Name23Name42Name73
1/31/2020Name33Name64Name61
1/31/2020Name42Name83Name14
1/30/2020Name55Name32Name22
1/30/2020Name66Name12Name85
1/30/2020Name74Name51Name46
1/30/2020Name83Name23Name52

 

Output Table:

NameTime Spent as Primary Audit Time Spent as Secondary Audit Time Spent as Tertiary Audit 
Name1224
Name2332
Name3322
Name4226
Name5512
Name6641
Name7433
Name8335

 

Any help on this regards is appreciated.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Created a new table, Renamed columns. Add data to matrix visual

https://www.dropbox.com/s/l7rob1rb10gutlm/Auditime.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Created a new table, Renamed columns. Add data to matrix visual

https://www.dropbox.com/s/l7rob1rb10gutlm/Auditime.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Thank you so much @amitchandak . Just what I needed for now. 

 

PFB the screenshots for reference.

 

Audittime-1.PNGAudittime-2.PNG

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.