This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello There,
Trust you are doing well.
I'm currently facing an issue while integrating the powerbi-client-vue-js SDK into our Vue.js 3 application. Specifically, I'm rendering a dashboard report that includes various visuals such as bar graphs, line graphs, and pie charts.
The problem arises when interacting with the bar graph. Upon clicking anywhere within the bar graph window, the following error is thrown:
{
message: 'Invoked filter serialization function with no filter.'
}
Interestingly, this issue does not occur with the line graph, which functions as expected when clicked.
I have explored multiple approaches and combinations to resolve this issue, including downgrading the SDK version via npm, but unfortunately, none have been successful so far.
For your reference, I have attached relevant code snippets that demonstrate how I'm embedding and interacting with the Power BI visuals.
Please let me know if any additional details or diagnostics are required from my side to help investigate this issue further.
Looking forward to your guidance and support.
Thanks in advance.
Console Line Graph With No Error:
Console BarGraph With Error:
Code Snippet:
Solved! Go to Solution.
Hi @Anonymous ,
Thank you for reaching out to the Microsoft Community Forum.
This appears to be triggered only when clicking the bar graph, meaning the bar chart's click interaction is not sending a valid filter payload.
Root cause:
In Power BI visual interactions (like clicking a bar): Power BI tries to serialize the filter(s) applied due to that interaction. If the filter object is empty, malformed, or undefined, this message is logged.
Your handler expects that getSlicerState() always returns slicers with valid filters, but clicking a visual like a bar chart is not a slicer action, and may trigger interaction events without any filter (especially if cross-filtering is disabled or no filter context is applied).
Please Check below things.
1. Check for empty filters before processing
In your 'rendered' event, ensure you check for existence of filters before processing:
2. Visual Interactions vs. Slicer State
You're triggering slicer state serialization inside a rendered event. But this event doesn't correlate to bar chart clicks.
To handle clicks on any visual, especially a bar chart, you'll need to attach a different event handler such as dataSelected or visualClicked.
3. Safe Fallback for Missing Filters
Ensure your getSlicerState() logic won’t break if the visual isn’t a slicer, or returns no filters.
Please refer below Microsoft article.
How to embed Power BI content in a Vue app | Microsoft Learn
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
Hi @Anonymous ,
Thank you for reaching out to the Microsoft Community Forum.
This appears to be triggered only when clicking the bar graph, meaning the bar chart's click interaction is not sending a valid filter payload.
Root cause:
In Power BI visual interactions (like clicking a bar): Power BI tries to serialize the filter(s) applied due to that interaction. If the filter object is empty, malformed, or undefined, this message is logged.
Your handler expects that getSlicerState() always returns slicers with valid filters, but clicking a visual like a bar chart is not a slicer action, and may trigger interaction events without any filter (especially if cross-filtering is disabled or no filter context is applied).
Please Check below things.
1. Check for empty filters before processing
In your 'rendered' event, ensure you check for existence of filters before processing:
2. Visual Interactions vs. Slicer State
You're triggering slicer state serialization inside a rendered event. But this event doesn't correlate to bar chart clicks.
To handle clicks on any visual, especially a bar chart, you'll need to attach a different event handler such as dataSelected or visualClicked.
3. Safe Fallback for Missing Filters
Ensure your getSlicerState() logic won’t break if the visual isn’t a slicer, or returns no filters.
Please refer below Microsoft article.
How to embed Power BI content in a Vue app | Microsoft Learn
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
Hi @v-dineshya - Thanks for your support and prompt response. It did help me to identify the problem.
Hi @Anonymous ,
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |