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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
vbourbeau
Resolver II
Resolver II

Rankx change behaviour when I add line in a matrix

Hi,

I create a measure for ranking client. I use it on a matrix where the line are the client and the part number.

So if we drill down the client we see all part bought.

 

I create a Rankx DAX command to rank my client. The rank work but when I add my part number as a line the rank only give 1.

 

example.pbix

2019-04-03 13_55_00-Window.png

 

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @vbourbeau ,

Based on my research, it is due to the filter in different conditions, you could refer to below link:

https://dataninjago.com/2017/12/11/dax-ranking-with-hierarchy-drill-down/

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you your post help me but it's still something wrong.

 

I need to put a filter to eliminate the client with empty amount. So I add a filter if amount empty.

If I put this filter the isfiltered value change to True?

 

Example.pbix

 

2019-04-05 09_16_52-example - Power BI Desktop.png

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.