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

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.