Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm trying to display the heirarchy way to represent data, i have used path method , but im unable to display in visual
| ID | hirachy | name | parent ID | global name |
| 100 | Global | a | null | null |
| 101 | Global | b | null | null |
| 102 | intermediate | c | 101 | b |
| 103 | country | d | 102 | c |
| 104 | country | e | 105 | f |
| 105 | intermediate | f | 100 | a |
| 106 | intermediate | g | 105 | f |
Solved! Go to Solution.
In the matrix visual formatting pane go to Row headers and turn off stepped layout. That should give you the desired view.
You should just be able to put both columns (ID and Parent ID) into the same row field of the matrix visual. The hierarchy should be created automatically.
@JirkaZ
I'm not getting desired result
for example if i expand the matrix , it should look like this
| 100 | Global | a | ||
| 105 | Intermediate | f | ||
| 106 | intermediate | g |
Seems to be correct
but if you see 100 ID is parent of 105, and 105 is parent of 104 and 106.
so if 100 is expanded then 105 values should be shown and below that 104 and 106 respectively.
not as seperate entity
@JirkaZ
In the matrix visual formatting pane go to Row headers and turn off stepped layout. That should give you the desired view.
it worked, thank you I'm able to achieve for what i was looking for
In that case create a separate "Level" columns for Level 1, Level 2, Level 3 using the output of the PATH function. For Level 1 you should use PATHITEM(yourpath, 1) etc.
Then you'll have to create a hirearchy in your table (right click on Level 1 and select Create Hierarchy. Then add L2 and L3 to the same hierarchy.
Finally add this hierarchy to your matrix rows area.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |