Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need a measure to count the number of times each entry from column "UnitID" is in 39 columns labeled Unit2, Unit3,..., Unit40.
There are about 800 UnitID's. The UnitID is in the form of A101, A102... through Z101, Z102... The 39 columns have the number of times the UnitId was Unit2...Unit40.
I'm new to Power BI and I keep getting errors or obviously bad numbers with my formulas. Below is a snip of the data.
Thanks for any help,
Ronnie
Solved! Go to Solution.
Hi,
could you unpivot the columns in power query then group by the attribute which would be the column title to do the count?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Sorry, I'm not allowed to provide a copy of the file. Other people at my office are looking into the issue now. Thanks for trying to help.
Hi,
could you unpivot the columns in power query then group by the attribute which would be the column title to do the count?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
I had to include another column with the unpivot and it worked.
Thank you.
Do you have a copy of the PBIX file or the data i could look at?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |