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
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
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.