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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Pikachu-Power
Impactful Individual
Impactful Individual

data model dont work

Hi all,
I have the following Data Model:

 

Model.png

 

When I filter the Facts 2 table with Segment_F_2 = B it has no influence to the Facts 1 table (Value_F_1 dont change). Does someone has an idea how to solve the problem? I tried to build up a Facts 3 table with primary key and connected with the Facts 1 and Facts 2 table but it didnt work. Then I have the problem that the values in the Facts 1 table dont respect the dates ☹️

Many thanks for ideas.

1 ACCEPTED SOLUTION
Pikachu-Power
Impactful Individual
Impactful Individual

your solution seems to work. many thanks for your effort 🙂

 

i have now again false values but the reason is an another one i thinks.

View solution in original post

12 REPLIES 12
az38
Community Champion
Community Champion

Hi @Pikachu-Power 

how do you calculate Value_F_1?

Is it measure or calculated column or data source column?


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pikachu-Power
Impactful Individual
Impactful Individual

It is a data source column.

Hi @Pikachu-Power 

for me it works as appropriated (see example in attach)

Снимок.PNG

Снимок.PNG

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pikachu-Power
Impactful Individual
Impactful Individual

The Filtering of the Segments doesn't work yet. If you put a slicer on your canvas with Segment_F_2 = b you filter Facts 2 but not the Facts 1 table. The dates seems to work. I additionally want to filter the Segments. They have in both tables the same meaning. 

 

Model2.png

@Pikachu-Power 

it's correct behaviour because power bi knows only about Date relationships.

do you want to use both relationships by Date and Scenario at the same time?


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pikachu-Power
Impactful Individual
Impactful Individual

yes at the end i will compare the values in a table. if i filter the segment the values should have the same dates and the same segment 😕 i dont want to use a separate segment filter for table Facts 1. that should passoible or?

@Pikachu-Power 

should it work in both directions?

Segment_F_1 should filter fact 2 table?


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pikachu-Power
Impactful Individual
Impactful Individual

No in just one direction at the moment. Segment_F_2 should filter Facts 1. But maybe it is possible with a Facts 3 table that connects the segments? Maybe i should try it again.

@Pikachu-Power 

my idea is to create surrogatekyes calculated columns in both of Fact tables 

SurrogateKey_1 = CONCATENATE(FORMAT([Date F 1], "YYYYMMDD"), [Segment F 1])

AND

SurrogateKey_2 = CONCATENATE(FORMAT([Date F 2], "YYYYMMDD"), [Segment F 2])

then delete relationships with calender table and create relationships SurrogateKey_1 - SurrogateKey_2

see attach

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Pikachu-Power
Impactful Individual
Impactful Individual

your solution seems to work. many thanks for your effort 🙂

 

i have now again false values but the reason is an another one i thinks.

@Pikachu-Power 

thats great, good luck!


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

It didnt work. Is it maybe with a measure possible? 😪

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.