Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
akashpasumarthi
New Member

Filter table based on another column value

Hello,

 

I have a time slicer and I want to apply my filter to the table based on category. For example: I have categories Active, Complete, Teminated

 

I want to show all the Active and Complete and slicer should only filter Terminated category records based on the date range selected. Any leads on this?

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @akashpasumarthi 

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@akashpasumarthi , Created with two values Terminated and All, and then use that as the slicer 

 

Switch(selectedvalue(Slicer[value]) ,

"All", calculate(sum(Table[Value]), filter(Table, Table[Status] in {"Active", "Completed"}) ),

calculate(sum(Table[Value]), filter(Table, Table[Status] in {"Terminated"}) )

 

)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.