Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi. I'm trying to create a visual to show for each person ID their addresses so it looks something like this (excel example):
So a user can click on the person ID and the addresses appear. I'm sure it's simple to do but I can't figure out what visual to use. I think it's a matrix but can't work out what to do. Thank you!
Solved! Go to Solution.
Hey @Florie ,
Yes, you're absolutely right a Matrix visual in Power BI is the perfect way to replicate this kind of expandable structure where users can drill down from Person ID to Placement ID and see details like address and dates.
Here’s how to do it:
Ensure your Excel data is imported into Power BI. The data should be in a tabular format with headers like:
If Address is split across columns, consider merging them in Power Query (Transform Data).
In Power BI Desktop, go to the Visualizations pane.
Select the Matrix visual (it looks like a grid).
Drag the following fields into the Rows section in this order:
Then drag the following into the Values section:
This will allow the matrix to group by Person ID, and when expanded, show the placement details.
Make sure:
The row headers have the small expand/collapse (+/-) icons.
You enable drill mode (a downward arrow icon above the matrix) if you want to use clickable drill-through.
Turn on Stepped Layout (or off, if you prefer indentation).
Adjust word wrap for long addresses.
Use conditional formatting or row styles for visual clarity.
Things to remember
If you want a cleaner layout, you can combine Address with Placement ID in Power Query or a DAX calculated column.
If a placement has multiple addresses or overlapping dates, ensure your data model handles it appropriately.
If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.
Best Regards,
Nasif Azam
Hey @Florie ,
Yes, you're absolutely right a Matrix visual in Power BI is the perfect way to replicate this kind of expandable structure where users can drill down from Person ID to Placement ID and see details like address and dates.
Here’s how to do it:
Ensure your Excel data is imported into Power BI. The data should be in a tabular format with headers like:
If Address is split across columns, consider merging them in Power Query (Transform Data).
In Power BI Desktop, go to the Visualizations pane.
Select the Matrix visual (it looks like a grid).
Drag the following fields into the Rows section in this order:
Then drag the following into the Values section:
This will allow the matrix to group by Person ID, and when expanded, show the placement details.
Make sure:
The row headers have the small expand/collapse (+/-) icons.
You enable drill mode (a downward arrow icon above the matrix) if you want to use clickable drill-through.
Turn on Stepped Layout (or off, if you prefer indentation).
Adjust word wrap for long addresses.
Use conditional formatting or row styles for visual clarity.
Things to remember
If you want a cleaner layout, you can combine Address with Placement ID in Power Query or a DAX calculated column.
If a placement has multiple addresses or overlapping dates, ensure your data model handles it appropriately.
If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.
Best Regards,
Nasif Azam
Thank you. The +/- icon is toggled on but I can't work out how to set-up the visual for the data to appear as I'd like it to. This is how it looks at the moment. The address doesn't show but there is an address in the total row. I don't know how to lay it out in the Build section?
Many thanks
Have you created a measure to display the address or this is simply the field? If meausre, please provide the code. If it's a field, please right click on it in the Build panel and see if there is any aggregation selected.
Yes, you would use the Matrix visual and you will need to go to Format Your Visual > Row Headers > +/_ Icons and toggle them on
Please mark this post as a solution if it helps you. Appreciate Kudos.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |