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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dakshayaniswami
Frequent Visitor

Comparing 2 companies profile but not able to compare Rank of companies.

Hello,

 

Comparing revenue of 2 Companies but not able to compare rank of 2 companies.

Please help me out. File Link -  https://github.com/daksh0444/My-work/commit/038a2e2e7e01f9dcfebae942a52832810adbbf14 

 

Expected Result should be like this.

 Ranking of Companies 
     
Company2018H12018H22019H12019H2
Adobe7889
Apple2222

 

 

 

Thank You !

 

Dakshayani

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@dakshayaniswami , You can use offset function or window (as that can be used to sort on the measure)

 

refer

Learn Power BI: DAX- Window and Index as Offset?- https://youtu.be/cDs9xcy0U5c

 

 

Hey @amitchandak 

Can you please help me with this functions. I am new to power bi,

i am not able to find the solution.

 

Thank you

Dakshayani

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.