microsoft / powerbi-jupyter

A Custom Jupyter Widget Library for Power BI
MIT License
462 stars 149 forks source link

Dropdown slicer with single select is not working #36

Open priyanka-art opened 1 year ago

priyanka-art commented 1 year ago

when I am trying to use dropdown slicer with single select option it is not able to select and report coming as blank def filter_report(filter_list1,filter_list2): region_filter1 = { '$schema': "http://powerbi.com/product/schema#basic", 'target': { 'table': "Roadmap_Allviewers", 'column': "Brand_divided" }, 'operator': "In", 'values': [filter_list1] } region_filter2 = { '$schema': "http://powerbi.com/product/schema#basic", 'target': { 'table': "Roadmap_Allviewers", 'column': "Workstream" }, 'operator': "In", 'values': [filter_list2] }

report.remove_filters()
report.update_filters([region_filter1,region_filter2])
bapat-atharva commented 1 year ago

Hi @priyanka-art,

Thank you for reporting the issue. I was able to reproduce it with single-select slicer. It seems it is not related to this package but the PowerBI itself. We will forward the issue to the relevant team and address it as soon as possible.

When you say the report comes to be blank, you still do see the filtered slicer list, right ?