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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Resident Rockstar
Resident Rockstar

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.