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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nijlal01
Helper I
Helper I

Rank products based on measure in another table

Hi all,

 

I would like to rank the column 'Product'[ParentProductCode] based on a measure from another table 'Volume Received From Vendor'[Volume Received From Vendor Actual HL]. The data is retrieved from a live connection with anOLAP cube so I cannot use the query editor. I cannot manage to get it to work in a measure using DAX. Below the DAX statement which I tried however it only returns rank 1 for all products.

 

Rank = RANKX('Product';'Volume Received From Vendor'[Volume Received From Vendor Actual HL])
 
Anyone who knows how to make it work?
 
Kind regards,
 
Lars
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Nijlal01 

if your tables have relationships you can try 

Rank = RANKX(ALL('Product');'Volume Received From Vendor'[Volume Received From Vendor Actual HL])

it also depends on your measure statement 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @Nijlal01 

if your tables have relationships you can try 

Rank = RANKX(ALL('Product');'Volume Received From Vendor'[Volume Received From Vendor Actual HL])

it also depends on your measure statement 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.