Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Regular Visitor

Can powerbi use a matrix as a data source?

My dataset is about sales. It has categories, subcategories, region, country and account detail, among others.


I'm trying to create a vis that can show me what absolute and what proportion of revenue was derived by the top a,b,c accounts, where abc might be 10, 50, 100 for example, and display these for the last few fiscal year periods. I'd like to be able to slice these data by category and our geography, and have the option to in or exclude a subset of accounts (which I can easily identify programmatically).


I got started with the ranking function on the source data, but don't have my head around how I can then slice these data as the slicing by definition alters the ranking outcomes.


I haven't asked that well, but hopefully it's a start - I'd welcome thoughts on how to better ask the question even so I can google it better 🙂



Super User
Super User

@unusdusrname , Not very clear. But if you want to use Rank for sorting (Sort column) then it needs to be static. and can not change with slicer selection


The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors