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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.