How I am able to eliminate gap between columns in column chart like this, I didn't see any property to allow me to configure this:
There is currently no built-in option to eliminate the gap. Suggest you submit an idea at http://ideas.powerbi.com or make a contribution to the open source repo where our visuals are implemented so you get the feature you'd like: http://www.github.com/microsoft/powerbi-visuals
Related
I got an interactive report with a "collapsible" template.
When the table is empty there is an empty panel that takes up a lot of space. In Classic report this space does not exist when the table is empty.
I can't find a way that interactive report will behave the same way (we don't want to use Classic report).
I need a simple generic solution since we have a lot of tables.
The interactive report looks like this:
And I want it to look like this (as Classic report):
You could apply an after-refresh dynamic action that checks for the existence of the nodatafound area, and hide/treat the region in some way:
$(this.triggeringElement).find('.nodatafound').length == 1
Or you could apply a different amount of padding to the .a-IRR-noDataMsg class
.a-IRR-noDataMsg {padding: 5px;}
We are creating several charts in superset and with the partition type chart the ORDER BY seems to be hard coded and we cannot change it. The goal is too have the months on the left in the correct order (the column in this case is Month). When run in sql lab it works in correct order but in the chart view we cannot change the ordering
Any suggestions?
I assume you mean the dates on the right here?
I work with superset and I have experienced this limitation that does appear to be hard-coded into the ordering once a chart is made. I would suggest if it wasn't too much hassle to add another column to your database of the text value and follow the patter of;
WHERE "Month" = 'January' SET "OrderingColumn" = 'A'
WHERE "Month" = 'February' SET "OrderingColumn" = 'B'
etc etc
Then in your charts you can try: ORDER BY "OrderingColumn"
It is a bit of an inconvenience but if you are able to manipulate your data by changing tables or views this seems to be a solution you could use.
I hope this may be useful even to change the way of approaching the problem.
I tried to make a table with rowspan when the cells in the same column have the same value.
Like in this image
And i want to make it with django-tables2
I tried this code line but it shift the X1 to the field2 column at the second record.
Thanks in advance.
There is no support for rowspan in django-tables2. While adding such a feature is a theoretical possibility, I suspect it is non-trivial and will bring quite some complexity.
You are welcome to propose a patch by opening a pull request though, but I will only consider merging it after I can inspect the actual implementation (and documentation, tests).
Is it possible to color a line in a table view in the Dashboard based on the content of the table?
For example: In a list of Salesmen highlight in red all salesman with more than $200,000 of sales in the last month.
I don't believe this is something you can currently do off-the-shelf - but this is something you could probably hack together by adding some custom js and css:
Create your own override.js and override.css to implement something similar to what's described in Changing background cell of table depending on value
Add your css and js files to /superset/templates/superset/basic.html
Rebuild / restart your superset server (see https://superset.incubator.apache.org/installation.html#making-your-own-build)
I'm using a dataset in Weka for classfication that includes missing values. As far as I understood, Weka replaces them automatically with the Modes or Mean of the training data (using the filter unsupervised/attribute/ReplaceMissingValues) when using a classifier like NaiveBayes.
I would like to try removing them, to see how this effects the quality of the classifier. Is there a filter to do that?
See this answer below for a better, modern approach.
My approach is not the perfect one because IF you have more than 5 or 6 attributes then it becomes quite cumbersome to apply but I can suggest that MultiFilter should be used for this purpose if only a few attributes have missing values.
If you have missing values in 2 attributes then you'll use RemoveWithValues 2 times in a MultiFilter.
Load your data in Weka Explorer
Select MultiFilter from the Filter area
Click on MultiFilter and Add RemoveWithValues
Then configure each RemoveWithValues filter with the attribute index and select True in matchMissingValues
Save the filter settings and click Apply in Explorer.
Use the removeIf() method on weka.core.Instances using the method reference from weka.core.Instance for the hasMissingValue method, which returns a boolean if a given Instance has any missing values.
Instances dataset = source.getDataSet(); // for some source
dataset.removeIf(Instance::hasMissingValue);