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
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
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.