Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
showy123
Frequent Visitor

Table with expand function

I have the following requirement

I have different batch numbers and the corresponding storage bins. Now there are batches with one storage bin which is in one table (batch number, storage bin), one row. But there are also batches that are divided into several storage bins.

Now the goal should be a table in which batch numbers and storage bins are displayed. The batch numbers that have several storage bins should be able to be opened and closed. When they are collapsed, the column should show “***”. When expanded, all storage bins.

How can this be implemented?

 

1 ACCEPTED SOLUTION

HI @showy123 

here is your solution using matrix visual

Rupak_bi_0-1731142381386.png

there is a small trick inside. the Bin is there in the row but here not visible. for that you need to manually hide that colum by dragging from the grid edge.

if this solves your problem, Please accept as solution.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Your solution is so great Rupak_bi, it worked perfect!

Hi, @showy123 

 The solutions provided by Rupak_bi do work and are as follows:

vjianpengmsft_0-1731567584643.png

vjianpengmsft_1-1731567594747.png

If you have already fixed the issue, you can mark the Rupak_bi reply as a solution.

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Rupak_bi
Super User
Super User

Hi, @showy123 ,
Bin is string only in my example. The error you are getting because you may have renamed your existing columns and its getting duplicate. its a query related issue.  you need to implement the solution based on the columns you have in your table. 



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/
showy123
Frequent Visitor

Screenshot 2024-11-08 134752.png

HI @showy123 

here is your solution using matrix visual

Rupak_bi_0-1731142381386.png

there is a small trick inside. the Bin is there in the row but here not visible. for that you need to manually hide that colum by dragging from the grid edge.

if this solves your problem, Please accept as solution.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Thanks,

i think this is the right way.
I tested it in my report and geht the Errormsg: "Could not resolve the QueryDefinition. The query contains at least two expessions in its select clause with identical native reference name 'Bin'"

My column Bin is string and i cant change it to int

danextian
Super User
Super User

Hi @showy123 

 

As always, please post a sample data and your expected result from that. You can see your data and you basically know what you want to happen, at least visually, but the rest of us can't.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.