Forum Discussion
Ugarte335
Nov 18, 2019Copper Contributor
How to count multiple values in a cell
Hello, This is the first time I post! I need to do the following. I have a dataset and one of the fields is made up of cells that can have multiple values. For example the below. We have cell...
- Nov 18, 2019
Ugarte335 I used Powerquery to massage your data as you can see in the attached file. From the green table it'll be easy to create your pivottable report. You can also feed the result of the query into the pivottable directly without using the intermediate green table of course.
JKPieterse
Nov 18, 2019Silver Contributor
Ugarte335 I used Powerquery to massage your data as you can see in the attached file. From the green table it'll be easy to create your pivottable report. You can also feed the result of the query into the pivottable directly without using the intermediate green table of course.
- Ugarte335Nov 18, 2019Copper Contributor
Thank you, this was much easier than I expected!
- SergeiBaklanNov 18, 2019MVP
Just for the collection, here is a bit another version of query, resulting table is in brown.
- Ugarte335Nov 19, 2019Copper Contributor
Thank you so much for your helpSergeiBaklan
However, I tried with the data downloaded from the provider and it does not recognise it as new line for some reason. The delimiter with the data I provided first was a new line and it was recognised by power query.
Now it doesn't. I have attached the spreadsheet for your convenience.
Thanks
- Subodh_Tiwari_sktneerNov 18, 2019Silver Contributor
I modified the Query to transform the data in the desired format which you showed in the description.
Please refer to the attached.
- JKPieterseNov 18, 2019Silver ContributorPowerQuery to the rescue!