The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 |
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
79 | |
76 | |
46 | |
39 |
User | Count |
---|---|
143 | |
115 | |
64 | |
64 | |
53 |