<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Pivot table's page field's cell data type does not match type of value in data source"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124716">124716</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Pivot table's page field's cell data type does not match type of value in data source
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=150727" name="attach_150727" title="A simple pivot table with filter on mixed-type content">attachment 150727</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=150727&action=edit" title="A simple pivot table with filter on mixed-type content">[details]</a></span>
A simple pivot table with filter on mixed-type content

In the attached spreadsheet, week # is used to filter data in the pivot table
(page field). Excel sets cell B1 data type based on which data type was in the
data source; so when selecting week 1, =FORMULATEXT(B1) returns TRUE, and for
week 2 (which is made text in the data source) it returns FALSE. Using B1 in
LOOKUP also succeeds for week 1 when searching over numbers; but fails
(correctly) for week 2.
In LibreOffice, the type of B1 is unconditionally text. LOOKUP fails for any
week used in the filter.

See <a href="https://ask.libreoffice.org/en/question/190242">https://ask.libreoffice.org/en/question/190242</a> for real-life problem
because of this.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>