Forum Discussion

hkkwon89's avatar
hkkwon89
Cloud Apps
08-22-2022
Solved

How do I display the earliest date as a column in a pivot table?

Hi, I need to create a healthcare pivot table with three columns.  Provider Name, number of claims by provider, and earliest date of encounter for each provider. Something like above.. How...
  • harikm007's avatar
    08-22-2022

    Hi hkkwon89 ,

    One option is using Rank function in widget.

    Create a value panel with formula something like this:

    rank(max([Days in Date]),"ASC","1223",[provider])

    Then apply filter on value panel to display only the rank = 1.

    Finally disable the value panel.

    -Hari