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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.