cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Super User
Super User

Hello @lottie2404 ,

 

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

rajulshah_0-1677568219405.png

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors