logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Benbabu  
#1 Posted : Monday, January 6, 2020 11:36:56 AM(UTC)
Benbabu

Rank: Advanced Member

Groups: Registered
Joined: 8/9/2019(UTC)
Posts: 45
India

Thanks: 13 times
Hi Eric,

Some reporting tools have the feature wherein -
for Ex:) a Region selected in Report-A will reflect in Report-B as well, located on the same page .

Hence we are not looking for a Drill-down feature.


Do we a workaround to use such a functionality in SEAL ?
epf  
#2 Posted : Wednesday, January 8, 2020 8:27:22 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 836
Switzerland

Thanks: 14 times
Was thanked: 142 time(s) in 136 post(s)
Your request is not clear for me, can you detail it please...
Benbabu  
#3 Posted : Wednesday, January 8, 2020 12:55:37 PM(UTC)
Benbabu

Rank: Advanced Member

Groups: Registered
Joined: 8/9/2019(UTC)
Posts: 45
India

Thanks: 13 times
For ex:
Pie chart-1 shows amounts by countries; there is graph-2 that shows amounts by sectors.
When I select "Asia" data-label /legend/slice in chart-1, the graph-2 should show the sectors in "Asia" region only.

Hope it's clearer now..
epf  
#4 Posted : Thursday, January 9, 2020 9:11:12 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 836
Switzerland

Thanks: 14 times
Was thanked: 142 time(s) in 136 post(s)
You can do it by adding a task that copy the new restriction to the other models...
If you have 2 models in your report and you drill on model 1 -> then the task copies the restrictions from model 1 to model 2 and the restriction text as well

Code:
@using System.Data
@{
    ReportTask task = Model;
    Report report = task.Report;

    foreach (var restriction in  report.Models[0].Restrictions) {
        report.LogMessage("Copying " + restriction.DisplayNameEl);
        report.Models[1].Restrictions.Add(restriction);
    }
    report.Models[1].Restriction = report.Models[0].Restriction;
}


This has to be adapted...

I made a sample report in attachment.
test global drill.srex (6kb) downloaded 1 time(s).

Edited by user Thursday, January 9, 2020 9:12:33 AM(UTC)  | Reason: Not specified

thanks 1 user thanked epf for this useful post.
Benbabu on 1/10/2020(UTC)
Benbabu  
#5 Posted : Friday, January 10, 2020 5:41:28 AM(UTC)
Benbabu

Rank: Advanced Member

Groups: Registered
Joined: 8/9/2019(UTC)
Posts: 45
India

Thanks: 13 times
Thanks Eric. Let me check this out.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.