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.
Hello Power BI Community,
Happy New Year to all!
I am trying to get a solution for a peculiar request. I am populating a measure in matrix to get a skyline chart.
My DAX measure is as follows:
Hi @SriKandimalla ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @v-yangliu-msft
Thank you for your response. I am still trying to figure it out, but did not succeed. I amincluding the source file and the pbix file.
https://drive.google.com/drive/folders/1VdxQRTty-kxuHvurB8o-2cJkFhgcw2El?usp=sharing
I created a measure based on the DAX above. Now when I plot the measure in a matrix the way I did. I have to sort the measure values based on a column "cost". Since I am using the TopN, I could not able to sort teh result of TopN based on a column that is not the project. I only can output 1 column, instead of a tabel with TopN. Please check the file and you would understand.
Thank you
@SriKandimalla , In Matrix you can sort on rows or measure (values) total using three dots.
You can not mark a measure a sort column of Name
Hello @amitchandak
Thank you for your response!
I cannot use the sort option from the matrix visual menu, It does not apply in my case because the values in the measure are only being sorted based on the alphabetical order.
The solution I am looking for is how to sort the values in the measure using DAX in the above expression.
Thank you
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |