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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Carousel June 2024

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

2
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.