The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
So I have two tables, one is my primary table RESULTS that is solely used for the report and this has "OwnerID" in it and then I have a USER table which i'm pulling the users name based on the OwnerID
When I create a slicer on Name from the USER table it gives me all names, not just those that are in the RESULTS table, how can I just show those names with an OwnerID in the RESULTS table..
Cheers,
Solved! Go to Solution.
Hi @DarylRob,
Currently, you can’t directly do this on your slicer. I'd like to suggest writing a measure formula and use on a slicer to achieve filter records.
formula =
VAR userList =
ALLSELECTED ( Table2[UserName] )
RETURN
IF ( SELECTEDVALUE ( Table1[UserName] ) IN userList, "Y", "N" )
Regards,
Xiaoxin Sheng
Hi @DarylRob,
Currently, you can’t directly do this on your slicer. I'd like to suggest writing a measure formula and use on a slicer to achieve filter records.
formula =
VAR userList =
ALLSELECTED ( Table2[UserName] )
RETURN
IF ( SELECTEDVALUE ( Table1[UserName] ) IN userList, "Y", "N" )
Regards,
Xiaoxin Sheng
hi.. provide some sample data and exact column names u have and it is more clear expected output is mentioned
Hi @DarylRob ,
You can put a filter on your visual which says OwnerID from USERS table is "Not Blank"
Steps:
1- Select your visual and drag and drop the OwnerID field in the filters pane.
2- Select Advanced filtering and select is not blank option
3- Click on Apply
@DarylRob Please accept it as a solution if this helps you. Thank you.
Regards,
TruptiS
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
128 | |
117 | |
78 | |
65 | |
63 |