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
ad_w
Frequent Visitor

Add Column for Fixed Month

How do I add a column with the date value for a specific month (not current month)

I have a monthly report that has 12months worth of data and need to compare the top 10 for each months report, the data within the report have their own dates which are not relevant to my outcome. Can I use folder names for the months? I need to add a column that has an assigned month that is not coming from data within the report

1 ACCEPTED SOLUTION

That was the idea, I ended up extracting from the file name as it contained the month and year

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ad_w ,

 

Agree with m_dekorte.

In addititon, you can create a new column with a fixed month value. For example, if you want to assign the month of January, you can use the following formula:

= "January"

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

m_dekorte
Super User
Super User

Hi @ad_w,

 

When leveraging the Folder connector you could use the Folder Path column to extract part of a folder name. 

 

Hope that helps.

That was the idea, I ended up extracting from the file name as it contained the month and year

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.