cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gk2go
Helper II
Helper II

How to show sum grouped by field in a transitively related table?

I have the following three tables, and i would to create a visual that shows PVs grouped by Tag.

How shall i set the relationships to achieve that?

 

I expected the following would do it:

1. One-to-many relationship between Pages_DimTable and Page-Tags Table on Page field

2. Many-to-one relationship between PV_FactTable and Pages_DimTable on Page field

 

But when I put them in a visual it just shows with equal sized boxes, not reflecting the actual sum of PVs per Tag.

What's wrong?

 

gk2go_0-1620385114260.png

 

1. PV_FactTable

|| Date | Page | PVs ||

14-02-2021 | Page A | 14

15-03-2021 | Page B | 15

16-03-2021 | Page C | 16

 

2. Pages_DimTable

|| Page | Att1 | Att2 ||

Page A | A1 | A2

Page B | B1 | B2

 

3. Page-Tags Table

|| Page | Tag ||

Page A | Tag-1

Page A | Tag-2

Page B | Tag-3

Page B | Tag-2

Page C | Tag-1

Page C | Tag-2

1 ACCEPTED SOLUTION
gk2go
Helper II
Helper II

The solution was to set the first relationship to filter in both directions

View solution in original post

2 REPLIES 2
gk2go
Helper II
Helper II

The solution was to set the first relationship to filter in both directions

View solution in original post

Rocco_sprmnt21
Super User II
Super User II

it is not clear to me what you expect. but perhaps this could bring us closer.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors