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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
gk2go
Helper III
Helper III

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 III
Helper III

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

View solution in original post

2 REPLIES 2
gk2go
Helper III
Helper III

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors