Forum Discussion
Power BI column dynamically need to added
- 2 years ago
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])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.
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!!
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:
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.
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!!
- R_K_Damera2 years agoFrequent Visitor
The column type is of Text
- rajendraongole12 years ago
Super User
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.
change data type
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!- R_K_Damera2 years agoFrequent Visitor
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
Aug