March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I received an enhancement request for the solution (Solved: Re: Stacked Column Chart to show Count of Projects - Microsoft Fabric Community). Please assist me with the following:
We have two side-by-side stacked column charts; one displays all vendor sites by their total project count, while the other shows three bars representing "only vendors, vendors included, and vendors excluded."
The enhancement request is as follows:
Clicking on a specific bar (vendor site) in the left chart should display the details of that vendor site in the right chart.
For instance, clicking on the first vendor site bar, Sturgis, should display the corresponding three bars in the below requested format related to Sturgis on the right side..
Requested Format:
1st bar on right chart - Sturgis only projects
2nd bar on right chart - All vendors including sturgis projects
3rd bar on right chart - Combination of 1 and 2 i.e. All projects related to Sturgis
Note: Please utilize the below sample table provided to derive a solution.
Project Count | Vendor Site |
Project A | India |
Project B | India |
Project C | Cootehill,Singapore,India,Arla |
Project D | India |
Project E | Singapore,India |
Project 1 | Casa Grande,Granada,Jiaxing,Singapore,India,Jelsert |
Project 2 | India |
Project 3 | India |
Project 5 | India |
Project 6 | Sturgis |
Project 7 | Sturgis |
Project 8 | AltaVista,Casa Grande,Singapore,Cootehill,Granada,Sturgis |
Project 9 | India, Singapore,Casa Grande |
Project 10 | India,Casa Grande,Granada,Jiaxing,Singapore |
Thank you!
Hi,
Based on the table that you have shared, show the expected result very clearly in a Table format.
Hi Sam,
I tried but no luck. I used the same formula. Also applied the format, edit interaction filter on the chart and see no difference.
Download this and see if there are any differences:
Vendor in list.pbix
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Thank you for sharing the PBI file. I double checked and followed the same procedure.
I'm encountering an issue where the count of projects is only displayed for a few vendors, and moreover, all three bars are showing the same count.
Clicking on each bar of the 2nd chart to view project details in the table below does not display the corresponding projects. Instead, it reverts to the original graph. To cross verify, I added a table in your power BI to see if it is working fine. Your file also didn't show the correct project details when I clicked on each bar of 2nd chart.
Hi @h11
The structure of your file must be different to mine.
Please modify the sample file I sent you to reflect the structure of your and return it.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @h11
Create a column with the 3 variants in it:
Use this as your X axis. Add a new measure =
I'm sure someone can come up with a more elegant solution!
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi Sam,
Thank you for this solution. I really appreciate it.
The 3rd bar in the table should not be "Without" it should be a total of 1 and 2nd bar.
For example - Solo Projects = 5
Projects with others = 7
3rd graph should show total of 1 and 2 i.e. 5+7 = 12
Thank you!
RETURN
SWITCH(
selectedType
,"Solo Projects"
,COUNTROWS(FILTER(all('India vs Others'), 'India vs Others'[Vendor Site] = selectedVendor))
,"Projects with others"
,COUNTROWS(FILTER(all('India vs Others'), 'India vs Others'[Vendor Site] <> selectedVendor && CONTAINSSTRING('India vs Others'[Vendor Site],selectedVendor)))
,COUNTROWS(FILTER(All('India vs Others'), CONTAINSSTRING('India vs Others'[Vendor Site],selectedVendor)))
)
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |