microsoft / powerbi-jupyter

A Custom Jupyter Widget Library for Power BI
MIT License
471 stars 151 forks source link

Update_filters #48

Closed adama-hawa closed 5 months ago

adama-hawa commented 8 months ago

Hello, is it normal that the report display doesn't update when you apply a filter and do an update_filters?

KotanaSai21 commented 8 months ago

When you apply filters to report using update_filters the report should get updated. We tried applying to the report and it worked fine for us.

Here is the snapshot of code and the output of report where filter is applied. image

image

Could you please provide some additional information.

adama-hawa commented 8 months ago

In my case, this is how the filter zone looks: filtre

KotanaSai21 commented 8 months ago

Are you facing any errors after updating filters ? Can you confirm if this issue is specific to this Jupyter package ? Check report.get_filters() and see if you're getting any filters array being applied.

In the Developer Sandbox, " Select your own report" and then try adding filters there. Check the below snapshot and update the filter array with your new array.

image

If the filters are being applied to the report, then there might be some issue with jupyter package, else you need to check the filters array. Please try this thing and let us know.

adama-hawa commented 8 months ago

Hello,

The problem was caused by a blocking of the filters by the person who did the reporting.

Thanks for your feedback!