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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Suzie_Suze_Sue
New Member

Ranking position in league table at same point in previous year

Hi,

I am struggling with pulling through the ranking from the previous year and then being able to calculate whether the subject has gone up or down in popularity.

The table is set up like this but obviously a lot large

Suzie_Suze_Sue_0-1667820632220.png

Looking to show something like this (this in excel for a visual, which unable to reproduce in Power Bi)

Suzie_Suze_Sue_1-1667820955251.png

I can get the ranking to work for the overall total, but it doesn't seem to like to pull through previous year.

I've tried all sorts, creating measure etc... without any success.

Any help to point me in the right direction would fab.

many thanks

Suze

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1667822276032.png

 

All measures are in the attached pbix file.

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.


Go to My LinkedIn Page


View solution in original post

2 REPLIES 2
Suzie_Suze_Sue
New Member

Thank you very much. Works perfrectly 🙂

Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1667822276032.png

 

All measures are in the attached pbix file.

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.


Go to My LinkedIn Page


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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