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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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