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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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

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

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.