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

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

Reply
Anonymous
Not applicable

Stack coloumchart grouping

I have to create a stack coloumn chart with the below table which is created using summarize DAX function from another table

osp = SUMMARIZE(Combine,Combine[Month],(Combine[osp]),"connections",count(Combine[connection]))

rahulkrishna14_0-1651527999156.png

osp is the name of the app and connections are the number of apps connected per month, In the stack chart I want to show the apps per month and apps with less than 100 connections into a separate group. How can this be done?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You need to create a calculated column with the IF function, for example.

Column = IF('Table'[connections]>100,'Table'[osp],"others")

vcgaomsft_0-1651738476727.png

Attached PBIX file for reference.

 

Best Regards,

Gao
Community Support Team 

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

You need to create a calculated column with the IF function, for example.

Column = IF('Table'[connections]>100,'Table'[osp],"others")

vcgaomsft_0-1651738476727.png

Attached PBIX file for reference.

 

Best Regards,

Gao
Community Support Team 

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

Anonymous
Not applicable

Thanks it Worked, I got visuals in the stack chart

rahulkrishna14_0-1651810727507.png

I tried to sort the legend with the highest connections at the bottom and then go in descending order. I have used the sort using legend but it's not sorting the visual. How can I sort the legend based on the connections

Anonymous
Not applicable

@amitchandak Can you please help on figuring out this?

amitchandak
Super User
Super User

@Anonymous , Try like

 

osp = filter( SUMMARIZE(Combine,Combine[Month],(Combine[osp]),"connections",count(Combine[connection])), [connections] < 100)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for that, but what I'm looking for is different

rahulkrishna14_0-1651542559782.png


In the above graph, all the  osp with less than 100 connections per month  should show as "others" in the graph, How can this be done?

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.