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.
Hi
i have 2 tables:
in a report, i show tableB rows, and would like to use tableA as slicer, get all rows that contain team1 for example. the problem is i cant get the rows with multiple teams in tableB to work
*i have a relationship between the 2 columns
how do i do that?
Solved! Go to Solution.
First deselect the relationship between these two tables.
Then create measures in Table A
selected item = SELECTEDVALUE(TableA[teams]) whether contains = SEARCH(SELECTEDVALUE(TableA[teams]),MAX(TableB[teams]),,BLANK())
To all rows that contain team2 for example, please drag measure [whether contains] in the visual level filter and set "show values when item is not blank"
Best Regards
Maggie
First deselect the relationship between these two tables.
Then create measures in Table A
selected item = SELECTEDVALUE(TableA[teams]) whether contains = SEARCH(SELECTEDVALUE(TableA[teams]),MAX(TableB[teams]),,BLANK())
To all rows that contain team2 for example, please drag measure [whether contains] in the visual level filter and set "show values when item is not blank"
Best Regards
Maggie
works perfect!