Forum Discussion

sw123's avatar
sw123
Helper III
3 years ago
Solved

Price valid today

Hi,   I have a pricelist-table with different pricelists. All pricelists contain prices for items and an start date and an end date for each price / item. How do I show only prices that are valid t...
  • FreemanZ's avatar
    FreemanZ
    3 years ago

    hi sw123 

    supposing your table looks like:

     

    try plot a table visual with all the columns and feed a measure to the filter pane like:

    Measure = 
    IF(
        MAX(TableName[startdate]) <= TODAY()
            &&MAX(TableName[enddate]) >= TODAY(),
        1,0
    )

     

    it worked like: