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
Anonymous
Not applicable

Shows multiple rankings in one table

Hello,

 

I need help to create a table to show sales and ranking for current and last year.

Somehting like below:

Company2017 Sales2017 Ranking2016 Sales2016 Ranking
A$301$281
B$282$205
C$253$272
D$224$214
E$175$233

 

I can do the current year, but not sure how to include last year's sales and ranking to ONE table.

Thanks in advance.

 

1 ACCEPTED SOLUTION

Hi,

 

Open PowerBI desktop and go to File > Import > Excel Workbook contents.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Sample file can be downloaded from:

https://www.sendspace.com/file/hjs9dw

 

Desired result from the sample file:

 2016 Sales2016 Ranked2017 Sales2017 Ranked
A12032161
B14421443
C18011922

 

Thanks for helping.

Hi,

 

You may refer to my solution in this workbook.

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks. 

I know how to do it in Excel, but not in Power BI.

 

 

Hi,

 

Open PowerBI desktop and go to File > Import > Excel Workbook contents.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Phil_Seamark
Employee
Employee

HI @Anonymous

 

Is the table in your post an example of your source table?  or more what you would like to produce?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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.