Forum Discussion
John_C_2005
Sep 01, 2021Copper Contributor
Power Pivot help needed - managing m2m relationship
Hi Forum PC/windows 10 - Excel 19 ( Professional Plus 2019) Can someone assist me please as I seem to be going around in circles ? I am relatively new to Data Tables and Power Pivots. I am try...
- Sep 01, 2021
I'm not sure if GRC table is with unique code or not. If yes, you may use relationships as
combining GRC and RIBB tables.
TREAS you may add using virtual relationships using aggregation like
TR:=CALCULATE( COUNTROWS(TREAS), TREATAS( VALUES( RIBB[GRC Product Code] ), TREAS[GRC Product Code] ) ) or TRF:=CALCULATE( SUM(TREAS[Treasury UID]), TREATAS( VALUES( RIBB[GRC Product Code] ), TREAS[GRC Product Code] ) ), whatever. In any case you need something in Values of PivotTable, otherwise it always will be Full Outer relationship. Don't know what Treas Filter shall mean, in above is TRF instead.
Finally PivotTable is
If that's what you expect you may remove Unique table at all.
Please check in attached file.
John_C_2005
Sep 02, 2021Copper Contributor
Thanks Sergei. Works great. You are a star. Much appreciated.
SergeiBaklan
Sep 02, 2021Diamond Contributor
John_C_2005 , you are welcome, glad to help