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.
I have a data set, where it's quite possible that some entities have no data.
The issue is, in my case, when using a bar graph, a low bar indicates good performance. So when entities with no data show up as blank, this is misconstrued as 'really good!'.
I need all entities present on the graph, so I can't simply deselect 'Show items with no data'. I need a way of indicating that the particular entity has no data.
I've tried searching for special indicators on graphs, or even having them display strings (i.e. "Error, no data") but no luck.
Any suggestions much apprciated.
Solved! Go to Solution.
Hi @Anonymous,
For your feature request reveal the tooltip without hovering over, you can create an idea here.
Thanks,
Angelia
@Anonymous
Hey!
As with @Greg_Deckler, I have to speculate concerning some of the characteristics of your problem because we don't have access to your data.
Is it the case that the entity (without a value) shows up as null in the data view in pbi desktop? If that is the case, you can go into the query editor, and replace the null values with 0. When in query editor, you simply:
1. Select the desired column
2. Click replace values
3. Change null to 0
If you close and apply, the model will update existing null values with 0 in the specified column, and your entities will show up in your bar chart.
@ccakjcrx Hey!
Null or 0, it makes no difference as both return a low bar on the graph. I need to indicate no data, null or 0 in an explicite way, otherwise it's confused with good performance.
Thanks for the walkthrough though! I didn't know you could replace values like that.
Could you create a Measure and include an IF(ISBLANK() in it and if so set it to the MAX of the value or some static number like 100? Not ideal, but at least it would not be zero. Also, you could potentially create another measure for a tooltip so that you could show "No data" when they hover over the value.
So, are you saying that you have some categories or groups like:
Category
red
green
blue
And you have some data like
Category,Incidents
red,1
red,2
green,4
red,5
green,6
So, no blue. Something along those lines?
@Greg_Deckler Correct, except each category is distinct. (so red would only feature once, and with its number)
Hi @Anonymous,
Create a measure similar the formula below, and check if it returns correct result as @Greg_Deckler posted.
measure=IF(sum(Table[Indicator])=BLANK(),0,sum(Table[Indicator]))
Please respond to us if you have other issue.
Best Regards,
Angelia
Hi Angelia,
This measure was so help full, but instead of "o", can we include some text like "no records".
Thank you,
-Harsha
Thank you for your suggestions.
I already have a measure that returns BLANK IF 0, and that works as expected.
I like the tooltip idea, the only issue is, you need data to hover over to reveal the tooltip.
I could force a static number in the event of no data, I just tried this with numbers that aren't going to interfere with the results (like minus numbers) but this is just too inelegant unfortunately.
I've considered creating a table of categories that have no data, but this means the user has to cross reference that table with the graph to pick out the offenders, and also isn't ideal.
Hi @Anonymous,
For your feature request reveal the tooltip without hovering over, you can create an idea here.
Thanks,
Angelia
Good idea! Thanks
Hi @Anonymous,
You're welcome, could you please mark the useful/helpful reply as answer? So that more people will benefit from here.
Best Regards,
Angelia
Done
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |