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
Fabcon_Europe_Social_Bogo

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 Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors