cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lkaneff
Frequent Visitor

Calendar Table displays different in Power Bi than it does in Power Query

I Built a Calendar Table in Power Query and I loaded it to Power Bi.  The Date Column in my Calendar table in Power Query Edit mode looks fine.  All the dates are in the order that I want them in.  However, the loaded table in Power Bi which is the table that shows up by clicking the Data Icon is a mess.  My Calendar Date Column shows all the Weekday dates and then lists the weekend dates. Why is this happening?

Calendar Power Query Dates Shown Correctly.jpgCalendar weekends bottom.jpg

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

In the Data View, right click on your first column and choose Sort Ascending. In DAX, the row order doesn't matter. Usually it displays as expected, but it is not a big deal if it doesn't.

 

Pat

 

Microsoft Employee

View solution in original post

2 REPLIES 2
lkaneff
Frequent Visitor

I sorted by column yymm in my calendar table but now when I drag days to my matrix table the days are in alphabetical order.  Sorry i'm just learning DAX and Power Bi.  I appreciate the patience of this community for the new people.  Days Sorting in Alphabetical Order in Visual.jpgSort by YYMM in Calendar TBLE.jpg

ppm1
Solution Sage
Solution Sage

In the Data View, right click on your first column and choose Sort Ascending. In DAX, the row order doesn't matter. Usually it displays as expected, but it is not a big deal if it doesn't.

 

Pat

 

Microsoft Employee

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors