简体   繁体   中英

power BI relative date filter

Relative Date Functionality in Power BI:

Issue #1: Hi Team,

Need to know is there any way to implement the below relative date filter functionality in Power BI

在此处输入图片说明

Please note the following:

For year the base year should be current year, for now it should be 2021

For month the base month should be current month, for now it should be july and so on.

Issue#2:

Based on the above, we want to implement a functionality based on the below selection, where in if we select week, then we should see the count of a metric only for the weeks which are passed by the above filters and similarly for months, days etc. For eg, if we select year, then we should get the count for the year 2022 only as this is the only year passed by the above filter.

在此处输入图片说明

Thanks for any help!

Technically possible? I think so. Feasible? No, not really.

While there is some playroom with bookmarks, custom graphics and clever use of a wide range of measures and calculation groups - it would be an enormous task to get everything running correctly and smoothly.

Perhaps one option is to introduce this filtering functionality via a custom visual that takes your date column as input?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM