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
Pk8524
Helper I
Helper I

Visual Level Calculations with RANK

I am trying to make a ranking using visual level calculation:

01.jpg

I would like to use visual level calculations and have properly calculated rank for products in certain country: meaning ranking should reset for each country and start from 1, 2, 3 etc. Is it possible to achieve?

 

Secondly would like to have a parameter which will be showing all products with rank <= parameter.

 

I know i can achieve this with dax and measures - but wonder if this solution with visual level calculations i could scale to a bigger projects and improve performance.

 

Testing file:

https://drive.google.com/file/d/1_6YkUkjpuEDlVF_2z87XT-E6JUVrODj-/view?usp=sharing 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1760461713707.png

 

Jihwan_Kim_1-1760462086575.png

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

5 REPLIES 5
v-echaithra
Community Support
Community Support

Hi @Pk8524 ,

May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.

Thank you.

v-echaithra
Community Support
Community Support

Hi @Pk8524 ,

We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.

Best Regards,
Chaithra E.

Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1760461713707.png

 

Jihwan_Kim_1-1760462086575.png

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

possible to hide rows with no data?

Hi,

I checked the documentation below, 

Considerations and limitations

desktop-visual-calculations-overview#considerations-and-limitations

 

And, I don't think there is a way to turn off "Show items with no data" option at this moment.
Or, please correct me if I mis-understood.

Thank you.

Jihwan_Kim_0-1760496095460.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.