cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lottie2404
Frequent Visitor

HELP: Unpivot multiple group of Columns

Hello, a question
I want to unpivot two groups of variables in my database.
First group: indicators
Second group: educational levels
both are dummy variables 1 and 0

 

My database looks like this:

 

id_schoolind_01ind_02ind_03PreschoolElementary SchoolMiddle school
23001011
24101110
25010001

 

What do I need?

Develop segmenters by indicator and level of education.

2 REPLIES 2
lottie2404
Frequent Visitor

I need this:

 

id_schoolIndicatorsValueEducation LevelsValue
25ind_011Preeschool1
25ind_020Elementary School1
27ind_011Elementary School0
28ind_010Middle School1
rajulshah
Memorable Member
Memorable Member

Hello @lottie2404 ,

 

Do you want the output to look something like the below image? Please confirm.

rajulshah_0-1677568219405.png

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors