如何在Tableau中获取最大日期的酒店数量?

时间:2019-08-19 03:21:22

标签: tableau

在tableau文件中,我已在报告中应用了日期范围,但我希望酒店数量类似于:

Hotelid        Dateid
    200           20180101
    200           20180102
    200           20180301
    300           20180101
    300           20180102
    300           20180103
    400           20180103
    400           20181231
    500           20181231


Suppose date range filter  is applied from 20180101 to 20181231. 
In this case I need to count the hotels
 on maxdate of date range (20181231) and it should display 2.

0 个答案:

没有答案