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
JamesShawPBI
Frequent Visitor

Dates in the wrong order (Matrix)

hey guys,

I have a matrix below that doesnt display the dates in the correct order when the week goes across a month, any ideas how to fix this?:

 

JamesShawPBI_0-1664667511805.png

 

1 ACCEPTED SOLUTION

@JamesShawPBI Look at the image you just posted. Look in the upper right corner of the Matrix visualization. See those three dots ( ... ). Those are ellipses. Click them to get a menu of things you can do, one of them is controlling sorting.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
JamesShawPBI
Frequent Visitor

@Greg_Deckler 

Below is the Date Table I am using:

JamesShawPBI_0-1664668451197.png


The dates are not in chronological order. I have written the dates in the order they should show up in the image below (in bold):

JamesShawPBI_1-1664668658896.png

 

@JamesShawPBI If you use the ellipses for the matrix visualization, what is it sorting on?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

ellipses for the matrix visualization, what is it sorting on?

see image below:

JamesShawPBI_0-1664672033204.png

 

 

@Greg_Deckler 

I am not sure what you mean by " ellipses for the matrix visualization, what is it sorting on?"


JamesShawPBI_0-1664671616812.png

 

 

@JamesShawPBI Look at the image you just posted. Look in the upper right corner of the Matrix visualization. See those three dots ( ... ). Those are ellipses. Click them to get a menu of things you can do, one of them is controlling sorting.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

@JamesShawPBI Create a Sort By column for your week? 

Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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