Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
alex_bi
Frequent Visitor

Sort a visual matrix that uses the "show as rows"

I will describe the challenge from the start, since it might be easier to get another way to reach to the solution.

 

So I have a table with many columns. A number of these columns are  responses to a questionaire and hold the exact same variables, let's call them Var1,Var2,Var3,Var4.... Imagine the variables to be Yes, No, Maybe etc.

 

What I want to do is create a visual matrix where the rows are the questions, and the column is the count of "No". I must be able to sort the matrix so only the first N questiions (the ones with the highest counts of Nos) are shown.

 

I created a measure for each var (using COUNTAX  that counts the number of nos, and then used the "show as rows" option to create a visual matrix. However while the result is a visual matrix in the way I want, I cannot sort it/ filter only the top N. 

 

Any proposed solutions to this?

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @alex_bi,

 

Kindly share your sample data and excepted result to me.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
alex_bi
Frequent Visitor

I will describe the challenge from the start, since it might be easier to get another way to reach to the solution.

 

So I have a table with many columns. A number of these columns are  responses to a questionaire and hold the exact same variables, let's call them Var1,Var2,Var3,Var4.... Imagine the variables to be Yes, No, Maybe etc.

 

What I want to do is create a visual matrix where the rows are the questions, and the column is the count of "No". I must be able to sort the matrix so only the first N questiions (the ones with the highest counts of Nos) are shown.

 

I created a measure for each var (using COUNTAX  that counts the number of nos, and then used the "show as rows" option to create a visual matrix. However while the result is a visual matrix in the way I want, I cannot sort it/ filter only the top N. 

 

Any proposed solutions to this?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.