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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Raffa0786
New Member

Dynamically filter data for export with Power Automate.

Como está indo gente, tudo bem? Eu sou novo aqui na comunidade, eu gostaria de sua ajuda.

Preciso exportar meus dados de um visual de tabela no Power BI usando o Power Automate. Esta tabela será influenciada pelo usuário, onde ele pode filtrar dinamicamente os dados. Filtrar por data, valor, etc.

Como posso fazer isso dinamicamente? Aqui está um exemplo de uma parte da consulta que eu uso.
Quando uso a variável que passa um valor específico, a consulta retorna exatamente esses dados, mas não consigo fazer isso dinamicamente.

 

VAR __DS0FilterTable = FILTER(
KEEPFILTERS(VALUES('dCalendario'[data])), AND( 'dCalendario'[data] >=
MIN(dCalendario[data]),

'dCalendario
'[data] < MAX(dCalendario[data])

      )
    )

 

VAR __DS0FilterTable2 = FILTER(
KEEPFILTERS(VALUES('pFiltroEntradaRenda'[Value])),
'pFiltroEntradaRenda'[Value] >=
MIN(pFiltroEntradaRenda[Value])

    )

 

VAR __DS0FilterTable3 = FILTER(
KEEPFILTERS(VALUES('pFiltroSaidaRenda'[Value])),
'pFiltroSaidaRenda'[Value] >=
MIN(pFiltroSaidaRenda[Value])

    )

---------------------------------------------------------------

 

1 REPLY 1
lbendlin
Super User
Super User

If you want this to be dynamic then the Power Automate visual needs to have the same fields assigned, and be impacted by the same filters as the table visual.  You will have to try that out.

 

You will not be able to do this from within Power Automate (Run Query against Dataset), only from the Power Automate Visual in Power BI.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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