Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi There,
I have a chart (see attached) that displays totals for one year vs the other i.e FY23/FY22.
I want to have the data sorted so that the outcomes i.e promoted/demoted etc are side by side for comparitive purposes. Is this possible to move them side by side ?
Appreciate any help here 🙂
Solved! Go to Solution.
@Anonymous You need to set your original Outcomes column to have a Sort By column of Outcome Sort. You do this in the Column tools tab of the ribbon. Then, you use your original Outcome column in your visualization and it will be sorted in the order of Outcome Sort column.
ohh apologies think im mistaken -- i still use original outcome column but sort it by outcome sort ?
@Anonymous In Power Query, duplicate your Outcome column. Then, create a calculated column in DAX like this:
Outcome Sort =
SWITCH('Table'[Outcome Dup],
"FY22 Demoted",1,
"FY22 Promoted",2,
"FY22 Failed",3,
"FY22 Maintained,4,
"FY23 Demoted",5,
"FY23 Promoted",6,
"FY23 Failed",7,
"FY23 Maintained,8
)
Set the Sort By column for Outcome to Outcome Sort.
Thanks @Greg_Deckler this has worked however it has now changed the outcome names to 1,2,3,4,5,6,7,8 as a result.
Any reason for this ?
@Anonymous You need to set your original Outcomes column to have a Sort By column of Outcome Sort. You do this in the Column tools tab of the ribbon. Then, you use your original Outcome column in your visualization and it will be sorted in the order of Outcome Sort column.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
49 | |
41 | |
34 |
User | Count |
---|---|
164 | |
111 | |
62 | |
53 | |
38 |