Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a date table and I want to create a hierarchical filter like in the picture.
As you can see, dates start in 1900 and go through 2999.
I only want to show dates from 2018 to today.
I create a new column:
isInRange = IF(
d_date[date]>=DATE(2018,01,01) && d_date[date]<=TODAY(),
TRUE(),
FALSE()
)
So I put a filter "isInRange = true"
If in the filter the date is shown "regularly", it works, but if it is hierarchical, I still will see dates from 1900 to 2999
Hi @fabiomanniti ,
As you described, the filter condition does not work for date columns with a hierarchical structure. Whereas a normal date column can successfully apply the filter condition.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@fabiomanniti , Create custom columns like a month, year, qtr, etc, and use that. Try to avoid auto-time intelligence.
Use Date Table.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |