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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors