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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

How to Automatically differentiate the date without "Year" at last.

Hi All,

 

Need some suggestions and Help,

 

I am Having a data with has date in the format (DD.MM) without the year but the dates ranges from Current to Future , When we load the same PowerBI only considering the Data as only Current Year.

 

SukanyaS_0-1637748358408.png

 

SukanyaS_1-1637748397409.png

 

Can anyone tell how to How to make the transformation so that Powerbi will differentiate the Dates with Year.

 

Thanks 

Sukanya S

3 REPLIES 3
HotChilli
Community Champion
Community Champion

You could unpivot the columns to get the dates in one column.

Then add an index.

If the cutoff is 31.12, you could note the index value of this (might be 365 if you have a whole year of current data) and add a year column with an 'if' statement dependent on the index being higher or lower than the 31.12 index (e.g.365).*

Then merge the day/month column with the year column to get a valid date column.

----

* -> with more work this could be dynamic i.e. not comparing to a hardcoded value but at least you could prove the algorithm by hardcoding it.

Anonymous
Not applicable

Thanks @HotChilli  I will check and execute let you the status as well 

Hi @Anonymous 

 

Have you got the solution? Any update?

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.