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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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 carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.