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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hey Power BIs,
I am very new to Power BI and come from Excel. Hi. I have been spending days trying to accomplish what would take me seconds to do in Excel - with zero progress.
I want to create total columns that summarize a long list of columns, counting the number of times a defined text string appears.
Like so:
It puzzles me that something so simple in Excel is seemingly almost impossible in Power BI / query. I must be wrong.
Surely, I'm missing a basic function. Please help!
Solved! Go to Solution.
@Anonymous Yeah, Power BI works better if you unpivot those columns. Then it is trivial. Otherwise, you need to use MC Aggregations: https://community.powerbi.com/t5/Quick-Measures-Gallery/Multi-Column-Aggregations-MC-Aggregations/m-p/391698#M129
@Anonymous Yeah, Power BI works better if you unpivot those columns. Then it is trivial. Otherwise, you need to use MC Aggregations: https://community.powerbi.com/t5/Quick-Measures-Gallery/Multi-Column-Aggregations-MC-Aggregations/m-p/391698#M129
Just to clarify, I have thousands of columns. Is this still the way? At first glance, that seems like a lot of typing.
Hmm.. Interesting.
Thank you.
Funnily enough, this is the unpivoted data. I unpivoted it to establish a relationship with other tables.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 6 | |
| 6 |