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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Create a report with 3 columns - 2 tables have many to 1 relationship with 1 other table

Hi everyone,

 

I try to create a report with 3 columns:

1. Case Key from Case Table

2. Status from StatusHistoty table; and

3. Progress from ProgressHistory table

 

The relationship as pic.

 

Since there is no relationship between StatusHistoty and ProgressHistory, it shows error.

 

Any help would be appreciated.

 

Thanks

 

hungphung_0-1636359063727.png

 

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

I have built a data sample:

Eyelyn9_0-1636526971459.png

Based on my test, you could change the relationships to Many-Many , and then create visuals:

Eyelyn9_1-1636527083945.png

Eyelyn9_2-1636527102534.png

 

If it's not your expected, you may try to merge these three tables in Power Query.

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

I have built a data sample:

Eyelyn9_0-1636526971459.png

Based on my test, you could change the relationships to Many-Many , and then create visuals:

Eyelyn9_1-1636527083945.png

Eyelyn9_2-1636527102534.png

 

If it's not your expected, you may try to merge these three tables in Power Query.

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Gaurav_Lakhotia
Helper III
Helper III

Hi @Anonymous, try with BI-Directional relationship.

 

Gaurav_Lakhotia_0-1636362741363.png

 

Change cross filter direction to both for both the relationships.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

 

 

Anonymous
Not applicable

Hi @Gaurav_Lakhotia 

I tried that, either one or both relationships, did not work.

Thanks

amitchandak
Super User
Super User

@Anonymous , You can not take un summarized columns from both tables on many side.  You can take un summarized column from dimension, Fact 1 and from Fact2 you can have only aggregated columns

Anonymous
Not applicable

Hi @amitchandak 

So you mean there are no way to get them into 1 table?

Thanks!

@Anonymous , Unsummarized from both facts( aggregated you can have from both) is not possible.  You can have aggregation on one of the tables (on many side) and use

Anonymous
Not applicable

Thank @amitchandak 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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