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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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"}) )

 

)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors