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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Filippomonti
Frequent Visitor

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

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

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

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

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.