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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
R_K_Damera
Frequent Visitor

Power BI column dynamically need to added

This is input excel sample data for 5 months, for the data I am using table visual. In this visual I have placed al the column in the visual and I was able to get table visual however one month column gets added every month( new month geta added and old month gets removed out of data) as the result newly added column is not getting added or present in the table visual dynamically my visual is breaking down I need place new changed column manually into visual

 

Example : we have data for Apr 2023 to Aug 2023 & in next month input data will be from May 2023 to Sep 2023. The report started from may to sep where in Sep newly added column which is not getting added dynamically into visual. 

I need manually add Sep 2023 to visual

IMG_20240610_164959.jpg

IMG_20240610_165151.jpg

1 ACCEPTED SOLUTION

Hi @R_K_Damera - you have to create two calculated columns based on Month No and Month Name

first calculated column:

 

Month = FORMAT(Pivot[Date],"mmm")
 
Monthno = MONTH(Pivot[Date])
 

rajendraongole1_1-1718197574705.png

Once added the new columns, go to the report view and use matrix visualization, add Month Name on Columns and Data is on Rows and Values on Values tab.

 

rajendraongole1_0-1718197218308.png

 

Above is the output you can get it. Please check

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

6 REPLIES 6
rajendraongole1
Super User
Super User

Hi @R_K_Damera - you can do this in power query editor, select the columns which you no need to do unpivot, please follow the steps as below:

 

rajendraongole1_0-1718019162984.png

 

Once you unpivoted other columns , you can see attributes and values and then convert to date datatype and rename it as Date.

 

Once you loaded the data into power bi desktop, you can easily develop and get the dates dynamically into visualization. no need to add manual entry as like below visualization.

 

rajendraongole1_1-1718019455968.png

 

Let me know if any . solution works as expected.

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





The column type is of Text

Hi @R_K_Damera - you have to convert text data type to date data type. if any issues while converting we have to use the m functions . check it and get it convert let know if any errors are coming.

 

rajendraongole1_0-1718020158599.png

 

 

change data type 

rajendraongole1_1-1718020219053.png

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Yes I have tried however data should be in the individual column as the data should be represent in table visual

exam : column 2 is Apr, Column 3 is May, etc.,, 

As per above data is

Apr

May

Jun

Jul

AugIMG_20240610_180305.jpgIMG_20240610_180326.jpg

Can you please help me on this

Hi @R_K_Damera - you have to create two calculated columns based on Month No and Month Name

first calculated column:

 

Month = FORMAT(Pivot[Date],"mmm")
 
Monthno = MONTH(Pivot[Date])
 

rajendraongole1_1-1718197574705.png

Once added the new columns, go to the report view and use matrix visualization, add Month Name on Columns and Data is on Rows and Values on Values tab.

 

rajendraongole1_0-1718197218308.png

 

Above is the output you can get it. Please check

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors