Forum Discussion
lucmax
3 years agoHelper II
Apply JSON filter with date hierachry not working
Hi all, we are developing our own visual that creates filters based on the json filter (applyJsonFilter). this works great with all dates, but we are having problems with the date hierarchy. We h...
- 3 years ago
Figured it out, we needed to get the name from the source.entity object within the identityExprs array. Thats the, I guess technical name, of the date hierarchy table. If we set a filter on this table everything works as expected.
v-chenwuz-msft
3 years agoCommunity Support
Hi lucmax ,
I found an official document, I do not know whether it will be helpful for you.
Add bookmark support for Power BI custom visuals - Power BI | Microsoft Learn
Best Regards
Community Support Team _ chenwu zhu
lucmax
3 years agoHelper II
Hi v-chenwuz-msft ,
thank you for the answer, but I'm afraid that won't help. When we filter at the hierarchy level, we do not have a complete date object, only the individual values.
If I filter on the underlying complete date, everything works as intended. Only the hierarchy causes problems.