Forum Discussion
Show items with text field based on selected text
- 8 years ago
You can create two measures with following DAX formula, one to return the selected text, another one to mark the filtered rows.
For details, please refer to attached PBIX file.
SelectedString = IF ( ISFILTERED ( Table2[DSF_Select] ), SELECTEDVALUE ( Table2[DSF_Select], CONCATENATEX ( Table2, Table2[DSF_Select], ", " ) ), "Not Select" )Mark = SEARCH ( [SelectedString], CALCULATE ( MAX ( Table1[DSF] ) ), 1, -1 )
Drag the Mark measure to visual level filter of the Table visual as following screenshot, set it greater than 0.
Best Regards,
Herbert - 8 years ago
You can create two measures with following DAX formula, one to return the selected text, another one to mark the filtered rows.
For details, please refer to attached PBIX file.
SelectedString =
IF (
ISFILTERED ( Table2[DSF_Select] ),
SELECTEDVALUE (
Table2[DSF_Select],
CONCATENATEX ( Table2, Table2[DSF_Select], ", " )
),
"Not Select"
)
Mark = SEARCH ( [SelectedString], CALCULATE ( MAX ( Table1[DSF] ) ), 1, -1 )
Drag the Mark measure to visual level filter of the Table visual as following screenshot, set it greater than 0.
Best Regards,
Herbert
Could the setting be adapted that I see all the projects if no value is selected? And would it possible to allow multiple filter values?