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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.