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
adamfingol
Regular Visitor

Gerar relatorio com trigger

Ola tenho uma tabela de registros de falha e uma tabela de trigger por falha. Eu quero gerar uma visualização onde só apeça na lista quando o registro apareça a quantidade de vezes marcado na lista na tabela de trigger.

 

ao usar o comando

Medida = if((Values(Logs[Mnemonic] ) = VALUES(Th_Falhas[falha])) ; [TH] ; "False" )
 
quando Logs[Mnemonic] é diferente ao h_Falhas[falha] da erro.
1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @adamfingol 

Sample data and expected output would help tremendously. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

And if these two tables have created the relationship?

if you may try this measure

Medida = if((SELECTEDVALUE(Logs[Mnemonic] ) =SELECTEDVALUE(Th_Falhas[falha])) ; [TH] ; "False" )

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hi, @adamfingol 

Sample data and expected output would help tremendously. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

And if these two tables have created the relationship?

if you may try this measure

Medida = if((SELECTEDVALUE(Logs[Mnemonic] ) =SELECTEDVALUE(Th_Falhas[falha])) ; [TH] ; "False" )

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Tankyou, work perfect.

 

One more question, Why your comands work and my no, this is Dax or Language M?

I need study more i need tips witch i start study DAX or Language M or other?

Tankyou!

hi, @adamfingol 

Values returns a table, so for two tables, it doesn't work.

For power bi, you need to study DAX or M Language first.

http://radacad.com/m-or-dax-that-is-the-question

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Tanks you are the best!

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.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors