Forum Discussion
Filter Columns in Table based on Chart Selection (Field Parameters)
Hi astivale Could you try these please
Capture Selected Factor: Create a measure to get the selected bar chart value:
SelectedFactor = SELECTEDVALUE('Factors'[FactorName], "All")Control Column Visibility: Create a measure to show/hide columns:
ShowColumn = IF( ISFILTERED('Factors'[FactorName]) && SELECTEDVALUE('Factors'[FactorName]) = MAX('FieldParameters'[Name]), 1, 0 )Apply Conditional Formatting:
- Add Field Parameter columns to your table.
- Use Conditional Formatting > Font Color or Background Color.
- Set color to match the background when ShowColumn = 0.
This keeps the table dynamic based on chart selection.
Thanks Akash_Varuna. I don't think this is exactly what i am looking for. the problem i am trying to solve for is that i have many factors, they don't all fit on the screen at once. as such when i click, i dont just want the column to be blank, i want it removed so that all the relevant columns will shift over onto the screen.
- v-aatheeque1 year agoCommunity Support
Hi astivale ,
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community