Forum Discussion
Issues with Pivot table: Data Model is not applying relationship
Hi Royden,
Right tool will be Power Query, please see attached
Thank you Sergi, I took a look at your solution. Does that mean Pivot tables don't work with the data models. I was trying to stay away from a marged table as I have a large data set and would like to leverage data relationships and pivot tables.
- SergeiBaklanDec 07, 2018Diamond Contributor
Royden, Pivot Table works fine with data model, that's the main method to show data model results.
In your case in one-to-many relationships build pivoting from many to one. To your middle table in Power View add name and role from the related table
and pivot it
Please see attached
- Karen1270Feb 16, 2023Copper ContributorThank you!
I was running into same exact problem - was able to figure out path forward by studying the PowerQuery steps in your sample file.- SergeiBaklanFeb 17, 2023Diamond Contributor
Thank you. Didn't catch, did you solve your problem or still have a question?
- Royden CarneiroDec 12, 2018Copper Contributor
Hi Sergi,
Thank you for this. You've given me an idea on how to accomplish this.
- ElipumMar 30, 2020Brass Contributor
Hi Royden Carneiro ,
I am having a similar issue. I have already created all auxiliary tables with unique entities list, to act as a link between tables. But it does not work still...
I have posted more details of the specific case in this post:
Any help is appreciated. Thanks!