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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

visualization of variance

hi

 

i have the requirement where i need to display the chart with top 5 positive and negative variances with respect to sales in the sates of united states . Is there any way that i can represent top 5 and bottom 5 in one chart?. if not how can i show this?

3 REPLIES 3
TomMartens
Super User
Super User

Hey,

 

it's not totally clear what you are the top 5 and bottom 5 sales in the US, the customer, the orders, the products ...

 

Basically you can filter for the top 5 and for the bottom 5 union both tables and then use this table to filter the customer, the ordres, the products ...

 

This is my current thinking (it's just a quick something):

CALCULATE(
	[Total Sales]
	,UNION(
		--this returns the top 5 products
		TOPN(5,VALUES('product table'[product]), [Total Sales], 0)
		,--this returns the bottom 5 products
		TOPN(5,VALUES('product table'[product]), [Total Sales], 1)
	)
)
		

I guess it will be much more easy if you create a pbix with sample data, upload the file to onedrive or dropbox and share the link.

 

Regards



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

@TomMartens  : thanks for your reply .actually my users needs to see like what is the most performaing sales which is doing business great and bottom 5 states with respect to products where business needs to be more focus on so that they can work on closely on taking certian business decisions . That is the reason if they can see in one chart that would be great else i ok to create two charts with top 5 best performaing sales chart and another one is bottom 5 sales performing chart so that it can be visualized properly for taking more accurate decisions

Hey,

 

please create a pbix with some sample data, upload the file onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors