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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
netanel
Post Prodigy
Post Prodigy

ISO DATE

Hi All,

 

To get the ISO Date for Year and Week i wrote the following formula:

ISOYear-WeekNumber = FORMAT(YEAR([FullDateAlternateKey]) & "-" & WEEKNUM([FullDateAlternateKey], 21),"0000-00")
The formula works fine in DAX when I put it in the graph
I can't arrange it according to the timeline
Would appreciate help
 
 
netanel_1-1687776322553.png

 

netanel_0-1687775902031.png

 

 







Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
1 ACCEPTED SOLUTION

@Idrissshatila 

It's definitely an option I've already tried,
The problem is that the date order in my case went wrong
In any case, I found the problem and it is in my data set

This is the Solushion for case like that: https://gorilla.bi/power-query/create-iso-week-and-iso-year/


Thanks anyway!








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @netanel ,

 

You need to create a sorting column so you could sort the date column you're using.

check this out 

https://radacad.com/sort-a-column-with-a-custom-order-in-power-bi

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




@Idrissshatila 

It's definitely an option I've already tried,
The problem is that the date order in my case went wrong
In any case, I found the problem and it is in my data set

This is the Solushion for case like that: https://gorilla.bi/power-query/create-iso-week-and-iso-year/


Thanks anyway!








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.