Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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_school | ind_01 | ind_02 | ind_03 | Preschool | Elementary School | Middle school |
23 | 0 | 0 | 1 | 0 | 1 | 1 |
24 | 1 | 0 | 1 | 1 | 1 | 0 |
25 | 0 | 1 | 0 | 0 | 0 | 1 |
What do I need?
Develop segmenters by indicator and level of education.
I need this:
id_school | Indicators | Value | Education Levels | Value |
25 | ind_01 | 1 | Preeschool | 1 |
25 | ind_02 | 0 | Elementary School | 1 |
27 | ind_01 | 1 | Elementary School | 0 |
28 | ind_01 | 0 | Middle School | 1 |
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
84 | |
84 | |
73 | |
49 |
User | Count |
---|---|
143 | |
132 | |
110 | |
65 | |
55 |