apply the filter expression to ultragrid - infragistics

i have a main ultragrid and a secondary ultragrid. there are filters applied to the main ultragrid.
according to the filter applied,i get the result on main grid.
I want to fetch the filter from the main grid and apply the same filter to the
secondary ultragrid.
the filters on main grid have been achieved through the ultragrid property.
So, i dnt have to create the filter. I will get the filter expression already made.
i just have to attach dat filter to secondary ultragrid.
but it seems i dnt hav any option to apply the filter to secondary ultragrid

Related

Slicing the power BI report only by slicers not images

I have a scenario where I am using date and country slicers along with maps in my report along with some stacked charts.
When I click on the map for one country it filters the data based on that country I have selected but the filter is not reflected in slicers.
Is there any way that I can use the map only to display the counts without having select, in other words, no selection allowed on the maps?
Any suggestions would be helpful.
Thanks!
Go to Format tab and select Edit Interaction option as shown in the below image. Now select your Map visual and set Filter = None in other visuals you don't like to interact when click on the Map.

Is there a way to run a calculation based on Filter Box value in Apache Superset

I am working with Apache Superset, and I am trying to run a calculation in one column based on the selection of a Filter Box.
The Filter Box has two values in a dropdown list: Yes and No.
If the user selects Yes, I want to do a calculation on one of the columns (multiply by 1000 for example). When the user selects No, I want to show the column as is without any calculations.
So far, I managed to filter the data based on the Filter Box value. But I am not sure how to use a CASE Statement based on the Filter Box value.
You may leverage jinja template processing, for that you need to create a virtual dataset using SQL Lab View.
Select if({{filter_values('dropdown_key_column')}} == 'Yes',column * 1000, column) from db.tblname
and using explore create visualisation.
For more understanding watch similar youtube videos: Superset Videos

SuperSet creating Filter for Array Colums

I have following query running in Superet
select items from item_table;
Result
[{item={departmentNumber=2, description=Guitar, itemNumber=563082}}] Array
I have done some calculations and created a dashboard based on above query.
Problem : I want to have a filter for itemNumber but in superset Filter Box it showing Filters as item i.e the array how i can create a filter using itemNumber
I think it is possible to use each column and metric in Filter box. If you have nested JSON in your data set you must explode them to columns first before using as independent analytics in charts.

How to create table based on minimum date from other table in DAX?

I want to create a second table from the first table using filters with dates and other variables as follows. How can I create this?
Following is the expected table and original table,
Go to Edit Queries. Lets say our base table is named RawData. Add a blank query and use this expression to copy your RawData table:
=RawData
The new table will be RawDataGrouped. Now select the new table and go to Home > Group By and use the following settings:
The result will be the following table. Note that I didnt use the exactly values you used to keep this sample at a miminum effort:
You also can now create a relationship between this two tables (by the Index column) to use cross filtering between them.
You could show the grouped data and use the relationship to display the RawDate in a subreport (or custom tooltip) for example.
I assume you are looking for a calculated table. Below is the workaround for the same,
In Query Editor you can create a duplicate table of the existing (Original) table and select the Date Filter -> Is Earliest option by clicking right corner of the Date column in new duplicate table. Now your table should contain only the rows which are having minimum date for the column.
Note: This table is dynamic and will give subsequent results based on data changes in the original table, but you to have refresh both the table.
Original Table:
Desired Table:
When I have added new column into it, post to refreshing dataset I have got below result (This implies, it is doing recalculation based on each data change in the original source)
New data entry:
Output:

one-way interaction between visualisations

I have a simple (one table) report with the following columns: Date, Amount, Category and Subcategory.
I try to create a page with three visualisations.
The first one is for the amount/date (vertical bar chart). The second one is for amount/categories (treemap). The last one is for amount/subcategories (treemap).
I have created hierarchy for date and categories.
When I select a column in the amount/date, the visualisation of the bottom ones filters OK.
The problem that I have is that when I click on the amount/category treemap the amount/date bar chart resets its selection and the amount/category shows all the categories across all the dates.
I have tried to prevent this by setting the interaction to "No Impact" on the amount/date visual, but it didn't help.
How do I create "One Way" interaction between visuals?
If you CTRL-click, you can make multiple selections. If you click normally, then regular visuals will replace filters on other visuals.
Slicers are a special visual type whose selections don't get overridden by selections in other visuals.