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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rosh
Regular Visitor

Ranked Calculated Table

Hi 

 

I have a sales transaction table and a customer dimension table. 

I would like to create one calculated table that indicates the rank of the total sales per customer ID, but also include all the dimension columns I would like to add. 

I would then like to be able to use the calculated table in my visuals in order to show top X customers, for all visuals made from the calculated table. With a TopN slicer using the Rank N value, from the calculated table. 

 

Eg. 

Sales Transaction table:

Sales Date, Customer ID, Sales Amount

Customer Dimension table: 

Customer ID, Age, Email, Location, Name

 

Calculated Table:

Sales Rank, Customer ID, Total Sales (based on date selection on overal page), Customer Age, Email, Location, Name

 

Visuals on Page:

Slicer: Sales Rank

 

Table: 

Sales Rank, Customer name, Email, Total Sales

 

Pie Chart:

Customer Age

 

All visuals on the page should update to show the Top N based on the sales rank. As well as only include sales in the calculated table based on the date period selected.

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hello @rosh 

 

I suggest you share your sample data(without privacy), otherwise no one would like to help you.

How to Get Your Question Answered Quickly - Microsoft Power BI Community

 

Best Regards,
Community Support Team _ Janey

sanalytics
Solution Specialist
Solution Specialist

Hello @rosh 

 

Please share some dummy data so that we can work..

 

Regards

sanalytics

Please use the above mentioned column and table names

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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