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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

PowerBi seems to lose state of connection depending on the field I pick

I have a model with multiple tables. Four tables:

 

Two tables:

    FactLocation
   DimLocation

Are connected on:

LocationKey

 

And two more tables:

 

    FactPurchaseOrder
    DimPurchaseOrder

Are connected on:

 

PoKey

 

In addition:

 

    DimLocation
    FactPurchaseOrder

 

Are also connected on:

 

    LocationKey

I have a table view, that I would like to use columns from all tables for.

 

I started out adding items from

    FactLocation
    dimLocation

 

everything was going fine. Then I added one column from

 

    FactPurchaseOrder[OrderQuantity]

 

And that went fine. Then I tried to add:

 

    FactPurchaseOrder[OrderDate]

 

Initially, I see that it recognized the date format, and it shows me, under Values, the OrderDate and underneath it Year, Quarter, Month, Day fields, but I also get the following error message, inside the Table visual:

 

Can't display the visual
Relationship Detection
There is a missing relationship between these fields. Use autodetect to search for relationship, or create them manually.

If I click on autodetect, it tells me No relationships were detected.

 

The same happens to the other columns from that table.

Screen Shot 2020-06-25 at 20.51.34.png

Any idea what I should be looking for? there is a relationship between the tables, and at least one field was allowed.

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Thanks for your update.

https://community.powerbi.com/t5/Desktop/Parts-of-table-not-capable-of-resolving-connection/m-p/1190089#M533921 

As the issue is resolved. I will close this thread.

 

Best Regards,
Liang
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

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Unfortunately, I can't reproduce your issue.

test_PowerBi seems to lose state of connection depending on the field I pick.PNGtest_PowerBi seems to lose state of connection depending on the field I pick2.PNG

Did it happen by chance?

You can try to use the crossfilter function to get the columns in the corresponding table.

 

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

Anonymous
Not applicable

I am going to re-write this question, and include all the information

Hi @Anonymous ,

 

Thanks for your update.

https://community.powerbi.com/t5/Desktop/Parts-of-table-not-capable-of-resolving-connection/m-p/1190089#M533921 

As the issue is resolved. I will close this thread.

 

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

amitchandak
Super User
Super User

@Anonymous , Please make it one-directional unless there is need for bi-directional

Make it one - Many from Dim to Fact. Even though it seem like 1-1 as of now

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors