Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
When you select a value in a slicer, if that value is not found in the linked table, how do you show a message (e.g. 'value not found'), instead of it just being blank?
Attached image shows all. Table names at top (tblName and tblTestScore). Linked by NameID field. Part a) shows it correctly showing the two score values for NameID 1. But if NameID 3 is selected I'd want to indicate that there are no values, not just show a blank table as currently shown.
Thanks for any help.
Solved! Go to Solution.
there is a workaround for you. You can create a card beside the table
Proud to be a Super User!
Hi @NJ_hokie
@ryan_mayu has suggested a good idea but it does not work if you select more than one name
Try this method ...
Right click on Name and select Show items with no data
another way is create measure with + 0.
This will always force a value, even when there is nothing
Answer =
SUM(Scores[Score]) + 0
Please click thumbs up and accept solution. You can accept more than one solution. Thank you !
Hi @NJ_hokie
Thanks for accepting a solution.
Please can you also accept mine.
You cam accept more than one solution to show you appreciation to helpers.
It was one of the first and works ok.
The [accept solution] points help reflect my competency and your gratitude.
Thank you for your assistance in the matter
I accepted both solutions, which included yours, immediately after my earlier reply. I no longer see an 'accept as solution' after what you wrote, so as far as I can tell I did accept it. I'm new to this forum so if there is something I did not do correctly let me know and I will correct it.
Both of these solutions help and answer my question in various ways, thanks!
Hi @NJ_hokie
@ryan_mayu has suggested a good idea but it does not work if you select more than one name
Try this method ...
Right click on Name and select Show items with no data
another way is create measure with + 0.
This will always force a value, even when there is nothing
Answer =
SUM(Scores[Score]) + 0
Please click thumbs up and accept solution. You can accept more than one solution. Thank you !
Thanks @ryan_mayu, this is generally getting toward what I need, I just need the info in the table itself. If adding your comments measure to the table as shown in this image, what I think or hope should happen is it only shows nameID 3, with an actual blank for score and 'no value' under comments. The other nameIDs would not be displayed unlike shown.
there is a workaround for you. You can create a card beside the table
Proud to be a Super User!
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
53 | |
50 | |
40 | |
40 |