11-16-2020 07:15 PM
11-16-2020 07:15 PM
I have two fields under row labels. Up until a couple of weeks ago, I was able to filter on both these fields using the manual row label filter. Now, for some reason, I am unable to do so.
Previously, upon clicking on the row label filter, the values in Field1 appeared with the "+" symbol to the left of the checkbox. Clicking on the "+" symbol allowed me to expand the filter list to reveal Field2, which appeared with checkboxes for inclusion and exclusion. In other words, I could filter on both Field1 & Field 2 at once, while viewing the hierarchical relationship between them.
Now, when I click on the row label filter I still get the values in Field1 with the "+" symbol and the checkboxes, however, when I click on the "+" symbol it disappears and nothing happens. Previously, this behavior occurred only when the Field1 label represented the sole instance of this data point in the source data. I notice that at the top of the row filter drop down there is a field labeled "Select Field". This will change the field on which I can filter, and both Field1 & Field2 can be found here. But lost is the ability to view the hierarchical relationship between Field1 and Field2. What I am asking, in effect, is how I move this "Select Field" menu into the filter list itself.
What has happened? I have a feeling that an update to Excel may have change something, or blown out a default setting.
Thanks very much for any help you can offer.
11-17-2020 01:27 AM
I am certainly not the most suitable to give you an answer.
But if I can recommend, It can help us all if you upload an Excel file (without sensitive data), no picture.
Even if it is said that a picture can say a thousand words, it is certainly not in the case of Excel, on the contrary in some cases.
You could get a precise solution much faster with a file (w/out sensitive data).
This would also be a blessing for all of us, as we can understand the problem much better, a win-win situation for everyone.
* Knowledge of Excel version and the operating system are a must if you want to get a reasonable solution (Example: office version e.g. 2016 or 2019 or 365 web or 365 pro, etc) and your operating system (e.g. Win10 (2004), Win 10 (1903), Mac, etc.).
Thank you for your understanding and patience
I know I don't know anything (Socrates)
11-17-2020 02:04 AMSolution
If in your data model Field1 and Field2 are in hierarchy and hierarchy is added to rows in PivotTable, it shall work as "before" in your case
If to add to PivotTavle fields themselves, not hierarchy, behavior will be as what you have "now"
11-17-2020 12:18 PM
Thanks so much, Sergei!
Just to clarify, the creation of the hierarchy takes place in the Power Pivot window, not in the Power Query Editor, yes? At least this is where I was able to do it, following your instructions.
I could swear that when I first created the pivot I did not create a hierarchy, but the pivot displayed a hierarchical filter nevertheless. It does seem as though something has changed in Excel since that time. (Indeed, I received at least one Office 365 update since that time.) Regardless, this now works, and you have my sincere thanks.
11-18-2020 01:21 AM
Tom, yes, that's Power Pivot, hierarchy exists in data model. Date/Time hierarchy is added automatically if only you didn't disable this setting, other ones you may create manually.