The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have this table and with RAG status. The way it works or how I expect to work, if I filter all the GREENs, those items with GREEN in RAG STATUS should show, including the charts or trends. Is that possible, if yes, how?
can we use sparkline?
I think you are just pertaining to the chart. What i meant from my previous post is that I have the snapshot as an example. That is a table with a chart/trend in it. If i filter GREEN under the RAG STATUS, it will just show those rows that have GREEN in RAG STATUS column. And the trends/charts that come with those rows with GREEN under RAG STATUS column should also be shown.
I hope this is clear. Thanks!
Hi @rkee10,
Thanks for reaching out to the Microsoft fabric community forum.
Yes, what you're trying to achieve is possible in Power BI. If your table has RAG status and a trend or sparkline column (like in your screenshot), then filtering by RAG (e.g., only GREEN) should show only those rows, including their respective trend/sparkline visuals as long as those visuals are part of the same table row.
If you’ve added sparklines using Power BI’s built-in feature (right-click on the measure > “Add a sparkline”), those sparklines are tied to each individual row’s data and will be retained when the table is filtered. So if a row meets the filter condition (e.g., RAG = GREEN), it will show and the trend line will remain with it.
The only scenario where sparklines or charts might disappear is if you're using a custom DAX measure for the chart values that is being affected by the filter. In that case, you might need to modify the DAX to ignore the RAG Status filter but for standard sparklines in the table, you typically don’t need to worry about that.
So yes, you can definitely use sparklines here and filtering by RAG will behave the way you expect.
I would also take a moment to thank @freginier, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
Hi @rkee10,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.
Hi @rkee10,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.
Thank you.
Hi @rkee10,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hey there!
Yes, it is possible to filter your table by RAG status (GREEN) while ensuring that charts and trends remain visible in Power BI. Here’s how you can do it:
Other option:
If your charts disappear when filtering, it’s likely because the measure driving the chart is affected by the filter. To prevent this, modify your DAX measure so it ignores the filter on RAG Status.
Try using the ALL function to ignore the filter in your measure:
NewMeasure = CALCULATE(
SUM(YourTable[Value]),
ALL(YourTable[RAG Status])
)
Hope this helps!
😁😁