Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hey everyone. I need help to display some values on a chart (bar or decomposition-tree). So, I've got a list of questions that the users selected which ones were applicable and was recorded with other values. I need to display chart with the axis based on the question and the values are the count of that specific question that was recorded. There is currently no relationship between the 2 tables.
This the question list (unique index)
Applicable questions was recorded (Index of each applicable question, comma seperated)
Solved! Go to Solution.
Your best bet would be to split the second table field by comma delimiter and convert it to a single column by unpivoting the columns it splits the field into. You can do all that in PowerQuery.
HI @Ad3ViLl,
I agree with jdbuchanan71's point of view, you need to do some table structure transform on table 2 for further operations.
operation steps:
1. Add an index column to table 2.
Table.AddIndexColumn
2. Split text to list.
3. Expand the column who stored the above list of values to rows.
Expand column containing list of records
After these steps, you can extract and merge two table id to create a unique id bridge table to link two tables.
Bridge =
DISTINCT (
UNION ( ALL ( Table1[QuestionIndex] ), ALL ( Table2[QuestionIndex] ) )
)
Regards,
Xiaoxin Sheng
HI @Ad3ViLl,
I agree with jdbuchanan71's point of view, you need to do some table structure transform on table 2 for further operations.
operation steps:
1. Add an index column to table 2.
Table.AddIndexColumn
2. Split text to list.
3. Expand the column who stored the above list of values to rows.
Expand column containing list of records
After these steps, you can extract and merge two table id to create a unique id bridge table to link two tables.
Bridge =
DISTINCT (
UNION ( ALL ( Table1[QuestionIndex] ), ALL ( Table2[QuestionIndex] ) )
)
Regards,
Xiaoxin Sheng
Your best bet would be to split the second table field by comma delimiter and convert it to a single column by unpivoting the columns it splits the field into. You can do all that in PowerQuery.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
84 | |
66 | |
62 | |
62 |
User | Count |
---|---|
199 | |
120 | |
110 | |
79 | |
69 |