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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.