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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jithinrg
Helper I
Helper I

How one to many relationship works?

I have a dim and fact table connected via one to many relationship.

Dim table : Country with targets

CountryTarget
IN200000
UK500000
US1000000

 

Fact table: Actual transactions

DateCountrySales
1/2/2023IN4567
4/5/2023US56789
3/4/2022US43456
5/6/2021UK125678

 

Relationship : Country(dim) to Country (fact) 

Cardinality : one to many

 

When I dragged Country from fact and target from dim table, with Don't summarize it shows correct values. (implicit measure)

But when i created an explicit measure for Target = SUM (Country[Target]) and dragged into the same table it show total values repeated for each rows.

 

jithinrg_0-1675141754670.pngjithinrg_1-1675141769053.pngjithinrg_2-1675141845334.pngDefault aggregation for both value columns are "Don't summarize"

 

 

So I'm confused, how that works. 

Can anyone help me to understand this is much appreciated.

 

Also I have a question regarding how to model dim tables with target values and connect to a fact table with a project having RLS and page level security. Please share the best practises.

 

1 REPLY 1
amitchandak
Super User
Super User

@jithinrg ,Somehow I see same values

 

In this country, should always be used from Dim table.

 

Or you have use meausre like

Sumx(Summarize(Target, Target[Country], Target[Target]), [Target])

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.