Forum Discussion
Capono
8 years agoFrequent Visitor
Advance Filter on Measures with IFilterMeasureTarget
Hi, I was trying to implement the advance filter as shown for the sampleSlicer for API 1.7.0. This works great. My question is now is it also possible to filter on measures, since I found th...
v-viig
Community Champion
8 years agoHave you tried something like this?
let valueColumn: DataViewValueColumn = this.dataView.categorical.values[0];
let target: IFilterMeasureTarget = {
table: valueColumn.source.queryName.substr(0, valueColumn.source.queryName.indexOf('.')),
measure: valueColumn.source.queryName,
};
return target;Please let me know if that works. Otherwise, it'd be better to create a question at powerbi-models GitHub repository.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Capono
8 years agoFrequent Visitor
Thanks, for your time. This didn't work there should be a documentation how to use this.
- v-viig8 years ago
Community Champion
It'd be good if you could create an issue at Power BI Models GitHub.
There're experienced developers who develop and support the Advanced Filter.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- nhuzaa8 years agoFrequent Visitor
I did try the above approach but its not working for me aswell.
Where can I find proper documentation to implement
IFilterMeasureTarget