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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HarrievandeSun
Frequent Visitor

Sort PowerBI button based on two columns

Hi!

 

I have a PowerBI report with a table and a button which can send the table's data in .csv format to an end user's mail.

The button has the same columns as the table and triggers a flow which sends the mail

In the visual, i sort the table on two columns; name and date. 

 

Is this also possible with the button, which will result in a .csv sorted file sorted on name and date?

 

I already changed the button to a table, sorted it on the two columns and changed it back to a button again; but then it sorted again only on one column.

 

Kind regards.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @HarrievandeSun,

I'd like to suggest you take a look at the following link about sort by multiple columns:

Sorting by multiple columns 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @HarrievandeSun,

I'd like to suggest you take a look at the following link about sort by multiple columns:

Sorting by multiple columns 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.