I made a relation 1 to many between to table but when I try to use it in a pivot table it fails. I get the usual yellow message saying it may lack a relation. When I let it try to detect one it fails to find anything possible and when I check the existing ones, mine is there and done properly.
Here is a mock-up of the situation :
To send the values to the data model I make those tables go through Power Query because the real situation requires Power Query. No additional steps are added, it's just the "From table or range" source.
Then, in Power Pivot, I create the relation with the diagram view :
When I then create a pivot table, the relation has not impact :
I also tried to add a measure and use it at as the value but to no avail :
Price:=SUMX(Rqt_Ref;Rqt_Ref[C_B]*Rqt_Ref[C_C])
I did not create the pivot table with the original tables instead of the one that were send to the date model because I want this to work even if there are more than 1 048 576 rows.
I have no idea as for why it fails and I welcome any comment.
Edit : Since I don't want to do the job in Power Pivot with DAX (related) I did the merge with Power Query Merge queries
: