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

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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