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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Fraizerrrrr
Frequent Visitor

top 3 values per week year, 1 column per category

Fraizerrrrr_0-1707723628411.png

Fraizerrrrr_1-1707723781732.png

 

show only the top 3 category values on pie chart , I cant used TopN. Each category have different column. 

1 ACCEPTED SOLUTION

Fraizerrrrr_0-1707810486262.png

It says an error occured

 

View solution in original post

7 REPLIES 7
Fraizerrrrr
Frequent Visitor

Fraizerrrrr_0-1707809898969.gif

 

Anonymous
Not applicable

Hi @Fraizerrrrr 

Can you provide more sample data and the output you want ? the data you have provided only display the part, but it does not contain category or other.

 

Best Regards!

Yolo Zhu

 

 

I want the table show only the top 3 highest value when I click the slicer for year, machines, and any column from bar chart that represent the week number. Each values consist of different column.

Fraizerrrrr_2-1707807851286.png

 

Fraizerrrrr_1-1707807796737.png

 

Anonymous
Not applicable

Hi @Fraizerrrrr 

You mean there are multiple columns, and the three columns with the highest values in those columns are returned, right? 

 

Best Regards!

Yolo Zhu

yes, I only want that top 3 to show what ever column that is the highest in every click, is it possible? 

Anonymous
Not applicable

Hi @Fraizerrrrr 

it cannnot implement directly, if you want to implement this, you need to unpivot the table first to set the multiple columns to two columns "Attribute" and "Value", you can refer to the following link.

Unpivot columns - Power Query | Microsoft Learn

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Fraizerrrrr_0-1707810486262.png

It says an error occured

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.