Group heading does not repeat - grouping

I want the Group Headings to Repeat on subsequent pages.
Below RDLC Images show all of my settings and 2 pages from the report:-

When you need to create a form with groups, you build the form from the 'bottom-up'. Starting with the outermost group and working inward.
1. Insert the highest-level parent group.
2. Delete the column that is created - column-only, not group.
3. Create row - 'Outside Group - Above'
4. Repeat until you have all of your groups. Image of RDLC form showing nesting of groups

Related

How get display value of checkbox in a checkbox group?

I am using APEX 21.1. I have a checkbox group whose list of values is retrieved using a query...
select disease, id from history;
The query returns many checkboxes. I have another textarea item. I need to get the display value for any checkbox whenever it's checked and set item HISTORY to that value. How to do so?
Describing a how-to would be so much easier if you had provided some example page item names and example data. So, lets call your checkbox group P10_CHECKBOX and your textarea P10_TEXT.
Usually, your checkbox group will save the item ids as a colon seperated list, like this: 3:4:5
To display the corresponding display values, make a dynamic action on change on your item P10_CHECKBOX.
Then, use an action of type Execute PL/SQL Code to fetch the display values of your items.
The code could look like this:
select listagg(disease,chr(10)) within group (order by disease) into :P10_TEXT
from history h
join table(apex_string.split_numbers(:P10_CHECKBOX,':')) t on (h.id = t.column_value);
apex_string.split_numbers will convert your colon list into an actual "table" with the column column_value you can use in the join clause. listagg will do the actual concatenation and will work up to a couple thousand characters. chr(10) is an ordinary line break and will have your items be shown line by line, but any other seperator will do.
Last step is to set up P10_CHECKBOX in your Items to submit and P10_TEXT in your Items to return.
Now, whenever you click a checkbox, the textarea will be updated immediately.

Apache Superset How can I pass a filter value from a filter box to a SQL query Group By clause

I have a superset dashboard wherein i have a filter box containing the name of various dimensions such as area, district, country and so on. I want to generate a run time query to compute the value of a specific metric group by each of these dimensions. The user will select a value of the name of each dimension from the filter box and the dash should run the query for example:
SELECT
SUM(REVENUE),
{{dim}}
FROM mytable
GROUP BY {{dim}}
WHERE dim can be 'area' or 'district' or 'country'
How can I achieve this using Jinja templating ? Looking for any examples that would be helpfull ?
You need to use different column names in Filter and your chart.
An example of the same is here:
https://github.com/apache/superset/discussions/15272

Using RLS on secondary field to UserPrincipalName

So if I have three users: Tom, Dick, and Harry, and they have been assigned group colors. I'd like them to be able to see everyone's data in their own group.
Name Group Email
----- ----- -----
Tom Green t#acme.com
Dick Red d#acme.com
Harry Red h#acme.com
So I create a measure
RLS_SecurityKey = CALCULATE(FIRSTNONBLANK(People[Group],People[Group]),
USERPRINCIPALNAME() = People[Email])
And when I log in as the separate users, I can see in a card visual that I'm getting the expected group.
But when I set row level security on the People table, [Group] = [RLS_SecurityKey], I only get back the one row that matches the email address and not the user that matches his Group.
It seems I'm missing something fairly apparent, but I can't see it. How can I get back all the rows relating to Group and not the email?
Yep, it was pretty straight forward.
RLS_SecurityKey = CALCULATE(FIRSTNONBLANK(People[Group],People[Group]),
FILTER(ALL('PEOPLE'),USERPRINCIPALNAME() = People[Email]))
I adjusted the filter expression and made it a proper filter over the whole table.

Oracle Apex radio group

Environment: Oracle DB 11gR2.
Framework: Oracle Apex 5.1
I have a table with Column Product_id,Monthly_rate and Yearly_rate
When user will select Option for- Monthly
Then I want to pass below three values in another pages according to selection
Product_id
Monthly -- User select this option
Monthly_rate
Similarly for Yearly selection I want to pass
Product_id
Yearly -- user select this option
Yearly_rate.
I want to use radio group How can I achieve this?
Thanks in advance
When you declare a Radio Group in Apex the selected value will be stored as the Item Value on Submit. As with every other Item in Apex you can then reference that Item Value from all other Pages with this Syntax:
:P1_MY_RADIO_GROUP
Where 1 is the Page ID and MY_RADIO_GROUP the Item Name.
When you want to maintain that selection in another Radio Group just use the Item Value as the Source for those Radio Groups.

Google analytics filter out file extension

I am noticing a few variations of the same page in my google analytics reportings e.g.
/flash.php
/flash/
/flash
Does anyone know a (safe - won't mess up any data) filter to consolidate all urls into the /flash format (remove the extension and any trailling slashes)?
Much appreciated.
To merge these URLs into one, the solution is to use a Search & Replace Filter, or an Advanced Filter, depending on your usage for it.
For the case of only one page with this matter, the solution is to use the S&R filter:
1 - Go to your filters page, inside de profile you wish to apply the filter to
2 - Create a New Filter and select Custom Filter as the Filter Type
3 - Select Search and Replace
4 - Select Request URI as the Filter Field
5 - Type \/flash.* as the search string
6 - Type /flash as the replace string
Done, every URL that contains more than /flash will be merged into this one /flash one.
You can learn more about the search and replace filter here
For the case of many pages with this matter, the solution is to use the Adv filter:
1 - Go to your filters page, inside de profile you wish to apply the filter to
2 - Create a New Filter and select Custom Filter as the Filter Type
3 - Select Advanced
4 - Select Request URI as the Filter Field A
5 - Type ^(\/[\w\-]*)|^(\/)$ as the Extract A
6 - Select Request URI as the Output
7 - Type $A1$A2 as the Constructor
Augusto Roselli - Web Analytist at dp6