HTML expressions do not accept "="?!

I want to make an html>pdf report, I have a pebble in my shoe which is the following:

PDF > PDF report:
in one place i put the expression <<Start: FILTER("Alm_saida", AND(IN([ID_SAIDA],[_THISROW].[Ficha]), [DATA] <= [_THISROW].[Data_final]), [DATA] >= [_THISROW].[Data_inicial], [FUNCIONรRIO] = [_THISROW].[Funcionario], [CATEGORIA] = [_THISROW].[Categoria]))>><<[DATA]>>
And it works PERFECTLY;

but...

 HTML > PDF report:
in one place i put the expression &lt;&lt;Start: FILTER("Alm_saida", AND(IN([ID_SAIDA],[_THISROW].[Ficha]), [DATA] <= [_THISROW].[Data_final]), [DATA] >= [_THISROW].[Data_inicial], [FUNCIONรRIO] = [_THISROW].[Funcionario], [CATEGORIA] = [_THISROW].[Categoria]))&gt;&gt;&lt;&lt;[DATA]&gt;&gt;
(which is the same as the previous one), it does not recognize the part of the expression that contains the "=" character, see below:

Ismael_0-1727263841096.png

Before coming here, I researched a lot for a solution, and tried to rewrite the code in other ways, but without success. help?! hahahahaha

 

0 5 196
5 REPLIES 5

Not sure why the error says the "=" is the problem, but I think it is because you have an additional ")" in your expression. See below:

Markus_Malessa_0-1727269898320.png

 

Thanks for the guidance. I already fixed the code, but the error persists

If you can share the rest of the expression, we may be able to help. I would say include the full expression from <<Start:>> to <<End>>

Thanks friend, here's the code:

Ismael_1-1727345710439.png

 

Below is the complete code, ctrl+c and ctrl+v:

<div class="table-container">
            <table>
                <thead>
<tr>
                        <th>Entrega</th>
                        <th>Cรณdigo</th>
                        <th>Item</th>
                        <th>C.A.</th>
                        <th>Qtd</th>
                        <th>Motivo</th>
                        <th>Assinatura</th>
                    </tr>
                </thead>
 
                <tbody>
<tr>
<td>
&lt;&lt;Start: FILTER("Alm_saida", 
AND(
IN([ID_SAIDA],[_THISROW].[Ficha]), 
[DATA]&lt;&#61;[_THISROW].[Data_final], 
[DATA]&gt;&#61;[_THISROW].[Data_inicial], 
[FUNCIONรRIO]&#61;[_THISROW].[Funcionario], 
[CATEGORIA]&#61;[_THISROW].[Categoria]
)
)&gt;&gt;&lt;&lt;[DATA]&gt;&gt;
</td>
                        <td>&lt;&lt;[Cร“DIGO_SA].[Cร“DIGO]&gt;&gt;</td>
                        <td>&lt;&lt;[NOME]&gt;&gt;</td>
                        <td>&lt;&lt;[CA]&gt;&gt;</td>
                        <td>&lt;&lt;[QUANTIDADE]&gt;&gt;</td>
                        <td>&lt;&lt;[MOTIVO]&gt;&gt;</td>
                        <td>&lt;&lt;[ASSINATURA]&gt;&gt;
&lt;&lt;End&gt;&gt;
</td>
                    </tr>
                </tbody>
            </table>
 
        </div>

 

The below should work. I think your other problem was that the start and end needed to be prior and after the <tr> tag respectively.

<tbody>
  <p>&lt;&lt;Start: FILTER("Alm_saida", AND(IN([ID_SAIDA],[_THISROW].[Ficha]), [DATA] = [_THISROW].[Data_final], [DATA] = [_THISROW].[Data_inicial], [FUNCIONรRIO] = [_THISROW].[Funcionario], [CATEGORIA] = [_THISROW].[Categoria]))&gt;&gt;</p>
    <tr>
      <td>&lt;&lt;[DATA]&gt;&gt;</td>
      <td>&lt;&lt;[Cร“DIGO_SA].[Cร“DIGO]&gt;&gt;</td>
      <td>&lt;&lt;[NOME]&gt;&gt;</td>
      <td>&lt;&lt;[CA]&gt;&gt;</td>
      <td>&lt;&lt;[QUANTIDADE]&gt;&gt;</td>
      <td>&lt;&lt;[MOTIVO]&gt;&gt;</td>
      <td>&lt;&lt;[ASSINATURA]&gt;&gt;</td>
    </tr>
  <p>&lt;&lt;End&gt;&gt;</p>
</tbody>