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.
Hi everyone,
I am building a report that allows users to scan a list of items in a table and then click that item to see more detail related to it. On the left side of the report is the table and on the right are several cards/multi-row cards that display columns & measures for a specific item that is selected on the table. My issue is that when no item is selected these cards will default to whatever sort/aggregation I have set for them. Is there any out of the box solution that would allow me to have these visuals hidden until a selection is made in the table.
I am trying to avoid creating specific measures that will default these to blank when nothing is selected. I thouught there may be a better way.
Thanks.
Solved! Go to Solution.
Hi @mjmar025 ,
You may refer to below link to show visual until selection is made:
Regards,
Daniel He
You can use the isfiltered Function to accomplish this. I didn't want all user names to be displayed into the table until a lastname was selected. I used th efollwoing code to trap the selected data and return a list. Take a look at:
selectedLastname =
Var lastname = if(
isfiltered('table'[LAST_NAME])
,SELECTEDVALUE('table'[LAST_NAME])
,Blank()
)
RETURN
calculate(DISTINCT(
'table'[LAST_NAME])
,filter('table','table'[LAST_NAME]=lastname
)
)
Now, the list will not be populated until a lastname is selected.
I know this is an older thread, but hopefully might help someone that is searching in the future. 🙂
Have FUN!
Hi @mjmar025 ,
You may refer to below link to show visual until selection is made:
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |