Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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

Anonymous
Not applicable

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors