The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
HI @showy123
here is your solution using matrix visual
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.
Your solution is so great Rupak_bi, it worked perfect!
Hi, @showy123
The solutions provided by Rupak_bi do work and are as follows:
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.
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.
HI @showy123
here is your solution using matrix visual
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.
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
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.
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
94 | |
80 | |
55 | |
48 | |
48 |