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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
lwmns
Frequent Visitor

Matrix Showing Wrong Values After Publishing

Hi all,

 

I have a matrix visual that plots values to a calendar. When in Desktop, these values show correctly and everything lines up with what is on the database. After publishing to the Service, the values are completely wrong. Things are being pinned to completely wrong dates. 

 

Has anyone come across this before? I can't think of a reason for the data to break like this after Publishing.

 

Thanks

1 ACCEPTED SOLUTION
lwmns
Frequent Visitor

I managed to fix this issue, in case anyone comes across this in the future. The issue looks to be due to some re-ordering that the Power BI Service does with the data. 

 

I had a table with events and these came with DateFrom and DateTo fields. I created a second table to fill the dates inbetween, so that I could plot them on a matrix showing a calendar. I had created the second table by duplicating the first (including the index from the initial table), which left my second table without a unique index.

 

Once I added an index to this second table, the data came through as expected. I can only assume that this was due to some optimisation that the Service was doing, that Desktop wasn't.

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. I have seen this before. Dates showing issues with the format. The problem was that the date wasn't using the correct type changed at Power Query. Desktop was using local machine region and everything was ok, but the service was mixing dates like mm-dd-yyyy and dd-mm-yyyy on the same column.

You could try making sure all types are regionally changed, refresh desktop and publish again. 

I hope that helps, that's the only thing I can think about now


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

Happy to help!

LaDataWeb Blog

lwmns
Frequent Visitor

I managed to fix this issue, in case anyone comes across this in the future. The issue looks to be due to some re-ordering that the Power BI Service does with the data. 

 

I had a table with events and these came with DateFrom and DateTo fields. I created a second table to fill the dates inbetween, so that I could plot them on a matrix showing a calendar. I had created the second table by duplicating the first (including the index from the initial table), which left my second table without a unique index.

 

Once I added an index to this second table, the data came through as expected. I can only assume that this was due to some optimisation that the Service was doing, that Desktop wasn't.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors