Reply
Filippomonti
Frequent Visitor
Partially syndicated - Outbound

TopN Product with Others and ranked by price unit

HI all, 

i have this kind of dataset of product, quantity, revenue and price unit:

Filippomonti_0-1734101235569.png

I want to create a report where i can choose, through a slicer i already created, the top N product to show based on price unit and all the other products excluded in the generic "others".

I already created a new table with the UNION function and I have this table

Filippomonti_3-1734101369045.png

So i want this kind of output where i show only the top n product, others and their data using Price unit as Driver

Filippomonti_4-1734101416735.png

I know how to do this using quantity and revenue as drivers but i can't figure it out when it comes to price unit as driver.

Is there a way I can do this report?

 

Thank you very much for your help!

 

Filippo

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Syndicated - Outbound

Hi,

I have solved a similar question in the attached file.  Hope this helps.


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

View solution in original post

3 REPLIES 3
Filippomonti
Frequent Visitor

Syndicated - Outbound

Thanks for the reply but the problem is to calculate the price unit of others because in my report (created with the link @lbendlin sent) the measures calculate the sum of revenue using that as driver. I want to use Price unit as driver so it sums up the revenue and quantity of others product with price unit that is out of the top n

Ashish_Mathur
Super User
Super User

Syndicated - Outbound

Hi,

I have solved a similar question in the attached file.  Hope this helps.


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

Syndicated - Outbound

Looks like you already did most of the work.  Where are you stuck?

Filtering the top products alongside the other products in Power BI - SQLBI

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)