The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I am visualizing the data using the matrix table from native MS visuals. See the screenshot below.
You see the columns named (anonymized) "a" to "f". The order is automatically determined by PBI. However, I would like to see the columns (let's say) "d" to be the first one, no matter what. If "d" is the first one (reference column), it would make the comparison of the total at the bottom easier for me.
I tried to sort the column names in the dataset in descending order and then index them. However, the column name involves the duplicates since I have unpivoted certain columns in the dataset. Hence, sorting by index column does not work (the error is that different indexes could not be assigned to the same column names: duplicates).
Any ideas on how to deal with that?
@Anonymous , You need create a column with sort order and mark that column as sort column
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Unfortunately, as I mentioned, since the data is unpivoted, there are duplicates and sorting by certain column does not work.
Thanks for the suggestion though
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
48 | |
44 |