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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply

Duplicate rows when using date as columns in matrix

I have a bizzarre issue that I cannot for the life of me resolve.

I am merely trying to display sales, by state, using date buckets.  I have used the standard matrix chart for this.  The issue is that the rows for the states are duplicating for most of the states. It seems to be related to the fact that I have appended two tables together using the Append function.  If I filter on a field so that only data from one of the two tables would be available, then there is no issue. Also, it is only occurring when the "Order Date" field is used as a column.  The issue occurs when I use a date dimension table, or using the date in the actual tables.

 

bruceandersonBI_0-1646982790772.png

Interestingly I don't have the issue when the Order Date is used as a row.  Any assistance would be greatly appreciated!

bruceandersonBI_1-1646982807728.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bruceandersonBI , Does the state column has a sort order column, I doubt that it has more than one sort value for one value.

Or use clean and trim in power query and try again

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@bruceandersonBI , Does the state column has a sort order column, I doubt that it has more than one sort value for one value.

Or use clean and trim in power query and try again

Many thanks for your reply.  It was the trim function that resolved it!  There must have been spaces after some of the values.  I didn't know of the trim or clean functions... I could have used them in the past on several occasions. I have always only been using replace.   Many thanks again!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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