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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
LeiKong
Frequent Visitor

In stacked bar chart, Low-level groups do not need to be displayed but do not affect statistics

Hello experts,

 

At present, when I set the stacked bar chart, the customer asked me not to display -V, -E,-D when setting small departments, and it could not affect the statistics of the upper large departments, How can I achieve this requirement? Please see the corresponding screenshot for details. If it cannot be achieved, are there other visualization plug-ins that can have this function ? Please provide appropriate suggestions. Thanks.Capture1.pngCapture3.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LeiKong,

 

Unfortunately, it doesn't work in Power BI based on the data and context you've provided. The data and context do not align with a clear pattern for generating the expected output using

Power BI.

 

Please let me know if you have any other queries.

 

 

Regards

Vinay Pabbu

View solution in original post

9 REPLIES 9
LeiKong
Frequent Visitor

Thanks all for patient reply.  In my opinion, MDX could work in such situation. But I don't determine whether it could be achieved or not in Power BI.

Anonymous
Not applicable

Hi @LeiKong

Thanks for using the Microsoft Fabric Community.

Based on your question, we can simplify this in two ways:
Method 1: Use basic selection in filters pane and uncheck the options, as shown in the image below for reference.

vvpabbu_0-1733489615304.png

Method 2: Use Groups to combine the values of D, E, and V into a single bar. To create the group, right-click on the data column (Charge) and select New Group.

vvpabbu_1-1733489637037.png


Then, group D, E, and V together as one, and keep the remaining fields as individual groups. Similarly, like below image.

vvpabbu_2-1733489696465.png

Drag and drop newly created groups column in Y axis.

This is how the final visual looks like after creating groups.

vvpabbu_3-1733489731728.png

Please let me know if you have any more queries.

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

Thanks and Regards,

Vinay Pabbu

Thanks for you reply. 

For the first method,  it doesn't meet my mind.  Well, I type some records as show below.

DepartMentFirst

DepartMentSecond

D S

CN-D

Infotainment

CN-E

Validation

CN-V

When I count the dimension value "D S",  the data of the value "CN-D"  are also included to be counted.

 

For the second method, it deviates from my needs, they all have their own group.

Anonymous
Not applicable

Hi @LeiKong,

 

Is this the expected output?

vvpabbu_0-1733999948734.png

 

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to give "Kudos

Hi Vinay,

Thanks for you reply.  Your mind come up with how to express my requirements.  Here is my expected output.

LeiKong_0-1734001004260.png

 

 

Best Regards,

Ricky

Anonymous
Not applicable

Hi @LeiKong,

 

Unfortunately, it doesn't work in Power BI based on the data and context you've provided. The data and context do not align with a clear pattern for generating the expected output using

Power BI.

 

Please let me know if you have any other queries.

 

 

Regards

Vinay Pabbu

Anonymous
Not applicable

Hi @LeiKong ,

we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

If my response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.

If you have any additional queries, please reach out to me.
Thank you for being a part of the Microsoft Fabric Community Forum!

Tahreem24
Super User
Super User

Hi @LeiKong 

 

You can either exclude the -V, -E,-D from  filter pane.

Tahreem24_0-1733470259568.png

 

or you can set the sales value greater than or equal to 32%.

Tahreem24_1-1733470359071.png

 

 

I hope I answered your question!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Thanks for you reply.

Well, you idea doesn't meet my requirements.  I type some records with structure as shown below. 

DepartMentFirstDepartMentSecond
D SCN-D
InfotainmentCN-E
ValidationCN-V

When I count dimension value “D S”, I need to include the value "CN-D" for the statistics. If I use your solution,  the dimension value "CN-D" can't be counted in dimension value “D S”.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors