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

Summarize Names from multiple Columns

Hi Experts.

 

I have one table:

 

ProjectDiscipline 1Discipline 4Discipline 5Discipline 6
Prj1MikeCarlosMichael 
Prj2CharlieCarlos Max
Prj3xMatheusCharlieJonas
Prj4N/ACynthia Mike
Prj5Charlie   
Prj6JasmineJonasCharlie 

 

I want to summarize it per discipline how many people are working on it.

What I desire is something like this:

NameDiscipline 1Discipline 2Discipline 3Discipline 4
Mike1001
Charlie1020
x1000
N/A1000
Jasmine1000
Carlos0200
Matheus0100
Cynthia0100
Jonas0101
Michael0010
Max0001

 

I have tried with create table  = summarize, addcolumns.

I don't want to create tables at power query, want to do it with Dax.

Thank you.

1 ACCEPTED SOLUTION

@FelipeDelamar , Please find the attached file if that can help

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@FelipeDelamar , Unpivot the data in power Query

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Then you can create summarize with count or

And create a Pivot in visual using matrix and count

Hey @amitchandak

 

As i follow your steps (unpivot and transpose).

I think it isn't right, how can i summarize with the data like this?

FelipeDelamar_0-1601436471909.png

 

@FelipeDelamar , Please find the attached file if that can help

Great! Thank u, it was much more easy them I expected 😅

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.