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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
DouglasJMartin
Regular Visitor

Refreshing on PBI Service creates a problem with a relationship

The process I have just undergone is :

 

1. Create a .pbix on desktop that is connected to a SharePoint folder.  

2. Test the refresh on desktop (success)

3. Upload .pbix to PBI service

4. Test the refresh from Service.

 

On  PBI service, the refresh is said to be successful but it created a problem with a relationship I have made previously on PBI Desktop. It is particularly annoying because you cannot configure or check relationships online.

 

The relationship is based on a link table made with a DAX function so as to contain unique values.  the function is in the form  LINK_TABLE = DISTINCT(  UNION (     VALUES( TABLE1[ Column ] ; VALUES( TABLE2[ Column ]     )  )

 

Any help would be really appreciated.

 

4 REPLIES 4
Anonymous
Not applicable

It is a data type or formatting mismatch in your column. There is a similar thread here : https://community.powerbi.com/t5/Desktop/On-calculated-field-using-the-date-hierarchy-causes-an-erro...

Thanks but i have not been able to solve the problem with anything in that link. 

 

One key difference is that mine works fine on Desktop, its only when  uploaded onto Service and refreshed that the problem occurs. 

I can even download the file again, after the errors show up on Service, and the same file works fine on Desktop.

Anonymous
Not applicable

What problem are you facing in the service? Are the reports not getting filtered?

Yes, anything filtered by the link table gives an error, although i would not expect the problem to be limited to just filtering but anything that uses a relationship between tables.

 

This is the error message i get on 95% of the visuals in the report :

 

The query referenced a relationship between 'Table1'[COLUMN1] and 'Table2'[COLUMN1], which depends on a column that is not in a valid state.
Please try again later or contact support. If you contact support, please provide these details.

Thanks again

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors