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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Justair07
Resolver I
Resolver I

WeekEndingDate measure is showing Non WeekEndingDates for February

Hi,

 

I'm using the following DAX to produce a WeekEndingDate:

Weekending = if(WEEKDAY('Dates'[Date],2)=7,'Dates'[Date],'Dates'[Date]-mod('Dates'[Date]-1,7)+7)

It has always worked great until a few minutes ago. I didn't change anything in the DAX or raw data.

 

Here is what the visual is showing for January (looks great) and another picture showing February. I also included a picture of the raw data so you can see that there are not even any Weekendingdates for Feb 05, Feb 07, etc.. I also don't have the date heiarchy enabled either:

picture2.JPGpicture1.JPGpicture3.JPG

1 ACCEPTED SOLUTION
Justair07
Resolver I
Resolver I

Figured it out. I must have change the X-Axis properties by mistake from Categorical to Continous. Smiley FrustratedCapture.JPG

View solution in original post

1 REPLY 1
Justair07
Resolver I
Resolver I

Figured it out. I must have change the X-Axis properties by mistake from Categorical to Continous. Smiley FrustratedCapture.JPG

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors