We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I am trying to Display year wise budgetary columns in matrix visual, but NOT all columns from every year.
Currently I am getting 6 columns for each year at different categories (rows) level as below:
But I dont want every column for every year. Like my requirement is to display :
Any help will be highly appreciated....
Solved! Go to Solution.
hi @Arshadjehan
If so, you could only try these two workaround:
1. Unpivot the these six columns and then get it as above.
https://radacad.com/pivot-and-unpivot-with-power-bi
2. disable the "Word wrap" in Format-> Column headers of matrix, then reduce the column width to 0 manually for year 2016/2017/2018.
Regards,
Lin
hi @Arshadjehan
You could try this way as below:
Step1:
Add a dim categories table as below:
Dim categories = UNION(VALUES('Table'[categories]),ROW("categories","Average of Actual"))
Then create a relationship with basic fact table
Step2:
Create a measrue as below logic:
or
Result:
And here is sample pbix file, please try it.
Regards,
Lin
Thanks @v-lili6-msft for detailed answer.
But "Categories" you used in sample fact table as ROWS, are actualy columns in my table.
Here is the sample snapshot;
How can I refer to these columns, and get the similar solution you gave, withing the matrix I pointed to in my first post?
hi @Arshadjehan
If so, you could only try these two workaround:
1. Unpivot the these six columns and then get it as above.
https://radacad.com/pivot-and-unpivot-with-power-bi
2. disable the "Word wrap" in Format-> Column headers of matrix, then reduce the column width to 0 manually for year 2016/2017/2018.
Regards,
Lin
Hi @Arshadjehan
there is no such option for matrix visual. you can hide columns only the same for each year
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @az38
Thanks, but how can I hide certain columns for one year and display all columns for other?
I dont see any chance to do it
do not hesitate to give a kudo to useful posts and mark solutions as solution
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 39 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |