Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hii
I have the requirement like to show the forecast dynamically for 12 months i.e from AUG 2019 to sep 2018
I have taken the matrix visual and used month-year in the columns field and countries in the rows and forecast values in the values field.
Now i need to show the month year in descending order like AUG2019 JULY2019 JUNE2019....... but there is no option to sort column headers in the matrix visual.
I have tried the DAX formulae =12-[month number] but it didn't worked..
Is there any way to achieve it??
Thank you
Solved! Go to Solution.
@sarjensystems1 Please create a new SortKey column for your MonthYear column
SortKey_MonthYear = FORMAT([date],"YYYYMM")
So the values will be 201908,201907,201906 etc... Use this sortkey column as Sort By Column for the MonthYear column. Then the ascending or descending on your Sort By option in Matrix visual will work as expected.
Proud to be a PBI Community Champion
@sarjensystems1 Please create a new SortKey column for your MonthYear column
SortKey_MonthYear = FORMAT([date],"YYYYMM")
So the values will be 201908,201907,201906 etc... Use this sortkey column as Sort By Column for the MonthYear column. Then the ascending or descending on your Sort By option in Matrix visual will work as expected.
Proud to be a PBI Community Champion
HII @PattemManohar
After creating the sort colmn it is sorting in the ascending order(SEPT2018,OCT2018,NOV2018...........JULY2019,AUG2019)
.but i need descending order(AUG2019,JUL2019......NOV2018,OCT2018,SEP2018)
Thank you
Proud to be a PBI Community Champion
Hi @sarjensystems1 ,
If you select the modeling tab and then your month-year field from the fields pane, you should see the option to sort by a column. You should then be able to sort by your primary date field, which will make sure it stays in order when being put into the matrix visual.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |