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
HerNameIsWhat
Regular Visitor

Filter Columns with Fields Parameter and Export Data to CSV using Power Automate Button

Hello

 

I have a fields parameter slicer were the user can select fields to display on a table and after the user can export that data to csv using a Power Automate button.

 

I Cant seem to figure out how to have the data/columns dynamically filter based on whats selected on the fields parameter , My current export includes all the fields no matter what is selected on the slicer.

 

Is there a way for the user to export only the fields selected on a fields parameter

 

Please see sample data below:

 

Fields parameter slicer:

  • Name
  • Last Name
  • email
  • CellPhone
  • Position
  • Staff Number

user only selects the fields below shown in the table and export these to csv file (please note these are dynamic user can select any fields on the slicer)

Namelast nameemailcellphone no
katesmithsmith@yahoo.com0123456776
JuneJacksonJackson@yahoo.com0891011126
AprilFoolsFools@yahoo.com0314151617

 

Thanks for the Help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from audreygerred , please allow me to provide another insight: 
Hi  @HerNameIsWhat ,

 

First you can try to create a Power Automate visual of the Power BI report, trigger the Power Automate flow through the button, and pass the PBI visual data under the current contextual filtering conditions to Automate to do the creation of the csv table.

Create a Power Automate visual for Power BI - Power BI | Microsoft Learn

vyangliumsft_0-1726822730942.png

Use data operations in Power Automate - Power Automate | Microsoft Learn

vyangliumsft_1-1726822730943.png

After that you can try to use SharePoint action to save the data in SharePoint, and finally use Outlook action to send an email to the user, or you can include the corresponding .csv file in the email attachment.

 

Best Regards,

Liu Yang

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thanks for the reply from audreygerred , please allow me to provide another insight: 
Hi  @HerNameIsWhat ,

 

First you can try to create a Power Automate visual of the Power BI report, trigger the Power Automate flow through the button, and pass the PBI visual data under the current contextual filtering conditions to Automate to do the creation of the csv table.

Create a Power Automate visual for Power BI - Power BI | Microsoft Learn

vyangliumsft_0-1726822730942.png

Use data operations in Power Automate - Power Automate | Microsoft Learn

vyangliumsft_1-1726822730943.png

After that you can try to use SharePoint action to save the data in SharePoint, and finally use Outlook action to send an email to the user, or you can include the corresponding .csv file in the email attachment.

 

Best Regards,

Liu Yang

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

audreygerred
Super User
Super User

Hello! When I have a visual that uses field parameters and export the data, only the data showing in the visual exports. All I do is hover on the visual, select the three dots, select export data and choose whether I want it to be .xlsx or .csv. Only the items I have chosen from the field parameter and the measures that I have in the visual export. It does not include items that the user did not select from the field parameters.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thanks for the reply, I’m aware of that option but for this requirement, I'm trying to automate the process for getting the data, how it's supposed to work is the user selects the fields and exports the data to a CSV file that is stored on SharePoint and then an email gets sent out to specific users that the data is available for them to use.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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