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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.