Dynamic Filters possible ?

Hi there,
My Boss wants to Switch to Power View from Reporting Services, but he wants to know if everything you could do in SSRS is available in Power View first.
One of the things i noticed immediately is that i couldn't define the filter values for the Months dynamically (is this Really True ?)
What i want is something in the form i used in SSRS Parameters as Default Value:
cstr(year(dateadd(
"m", 0, now()))) +
"-"+ right(
"0"+ cstr(month(dateadd("m",
0, now()))), 2)
 --- For the current Year-Month
Is there a way to do this in Power View ? any Way ???
Thanks a lot in advance!

Hi gbobj,
Power View is quite limited in comparison to SSRS. If you require very tight control over the look, feel, and behavior of your reports and dashboards
then it's probably best to stay with SSRS. Where Power View shines is in flexible data analysis and allowing attractive data visualisations to be created very quickly.
It may be that you can identify some of your simpler reports/dashboards that would benefit from being recreated in Power View without losing important
functionality. However, for your more complex ones you may want to hold off on using Power View for them unless your end-users are willing to lose some of the functionality that they have in the SSRS versions.
With regards to the dynamic selection of the year and month, you could try a similar approach to the one outlined in my first reply in
this thread, but the approach is dependent on when the data model was last refreshed and isn't as elegant or powerful as using an expression to dynamically set the default value for an SSRS parameter behind the scenes.
Regards,
Michael
Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
Website: nimblelearn.com, Blog:
nimblelearn.com/blog, Twitter:
@nimblelearn

Similar Messages

  • Hide Dynamic Filters list criteria

    Hello Dear Experts,
    I would like to ask you whether it is possible and how can i hide the Dynamic Filters list criteria from a BW Portal (Web) report when exporting this or broadcasting this by email in pdf format???
    I mean about the first page of the output report which includes the settings & dynamic filters & key figures used in the report.
    Great Thanks in Advance...!!!!
    Kind Regards
    George

    Hi George
    There are two options:
    1. The default template for portal display is 0ANALYSIS_PATTERN. In this, there is a web item Info field.
    This causes the static, dynamic filters to appear on the report on a click on Print button.
    The option is to copy 0ANALYSIS_PATTERN to a new web template. Change the new template for not displaying this on click of Print button using the command option. Then use the new template as default template in SPRO. This will make it applicable for all the queries run on portal directly. Remember, for changes to take affect J2EE engine should be restarted.
    2. If this is only required for few queries, then the best approach is to create the template for each report and publish them.
    However, if the look and feel should be similar to other reports, then copy 0ANALYSIS_PATTERN and make changes to print command. The default template need not be changed here.
    Thanks
    Sri

  • Dynamic filters print (pdf)

    Hi
    In our print web template we have an information field that shows us
    dynamic filters including key figures and structures.
    Is it possible NOT to show the key figures and structures, but everything else ?
    Kind Regards
    Steffen

    Hi,
    per default the template 0ANALYSIS_PATTERN_EXPORT is used for the export. If you want different items to appear in the exported PDF file, you can define your own export template and maintain this template for the PDF command.
    Best regards,
    Janine

  • Photoshop, smart objects and dynamic filters performance issues

    Hello,
    I am quite new to Photoshop, after several years with Capture NX 2 to process thousands of NEF and  RW2 files (RAW from Nikon and Panasonic).
    I use Photoshop to read RAW pictures, convert them to a smart object, then apply several dynamic filters, mainly from the Nik Collection (Dfine, Color Efex Pro, Sharperner Pro), sometimes Topaz Denoise. I do that with actions, so I can batch process many pictures.
    But sometimes I have to manually adjust some settings, and this where I do not really understand the way Photoshop works. If I have to adjust let say the last filter on the stack, Photoshop reprocesses all the filters below, which can be very tedious as this takes lot of time.
    Is there a way to tell Photoshop to keep all intermediate data in memory, so if you have to adjust one of the last filters the process starts immediately?
    Any help would be greatly appreciate.
    Frederic.

    Thank you Chris.
    I am surprised, as for years there has been a lot of discussions about Capture NX2 which was supposed to be slow. In fact, when using the same filters (+ Nik Color Efex), NX2 is much much faster than Photoshop, and when you have to make an adjustment in any of the setttings, you can do that immediateley.
    Of course, Photoshop is completely opened and NX2 totally closed (and now not supported anymore).
    But, I really don't know how to adapt my workflow, except buying the most powerful PC possible (I already have 2 which are quite powerful), and this will still be far from being comfortable. I am used to tune manually many many pictures (adjust noise reduction, sharpening, light, colors ...), and this was quite fast with NX2.
    I am probably not on the correct forum for this, and I will try to investigate elsewhere.
    Anyhow, thank you for your answer.
    Frédéric

  • Creating Report using EPM Functions with Dynamic Filters

    Hi All,
    I am new to BPC, In BPC 7.5 i seen like we can generate EPM report using EVDRE function very quickly and easy too. Is the same feature is existing in BPC 10.0 ? if no how can we create EPM reports using EPM Functions with Dynamic Filters on the Members of the dimension like in BPC 7.5.
    And i searched in SDN, there is no suitable blogs or documents which are related to generation of Reports using EPM Functions. All are described just in simple syntax way. It is not going to be understand for the beginners.
    Would you please specify in detail step by step.
    Thanks in Advance.
    Siva Nagaraju

    Siva,
    These functions are not used to create reports per se but rather assist in building reports. For ex, you want to make use of certain property to derive any of the dimension members in one of your axes, you will use EPMMemberProperty. Similary, if you want to override members in any axis, you will make use of EPMDimensionOverride.
    Also, EvDRE is not replacement of EPM functions. Rather, you simply create reports using report editor (drag and drop) and then make use of EPM functions to build your report. Forget EvDRE for now.
    You can protect your report to not allow users to have that Edit Report enabled for them.
    As Vadim rightly pointed out, start building some reports and then ask specific questions.
    Hope it clears your doubts.

  • Dynamic filtering with BEx query variables in WebI 3.1

    Hi experts.
    Can anybody help me ?
    1) I use BEx query variables in WebI 3.1 .  But i can't understand how to order fields of selection screen in WebI reports
    2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
        It's need that  list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
        Need i use BEx user-exit variables ?
    Thank you

    Hi,
    1)  Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv  (this enhancement exists in 4.0 )
    2)  Dynamic filtering?  Yes, Exit routines are the best way to go for this.
    Regards,
    H

  • ODI: Using Table Name in Dynamic filters

    We have a requirement, where the filters have to be dynamically generated and applied on the source system data stores.
    The requirement can be best explained by the below example.
    I have EMPLOYEE and DEPARTMENT table as the source datastores and EMP_DEPT (flat table) as the target datastore.
    The filter condition will be updated now and then by the admin in a table. They would like to run the integration interface with the condition mentioned in the table.
    Metadata table and sample data: (DY_FILTERS)
    TABLE_NAME | INTERFACE_NAME | CONDITION
    EMPLOYEE | EMP_DEPT | EMPLOYEE.EMPLOYEE_NAME LIKE 'A%'
    DEPARTMENT | EMP_DEPT | DEPARTMENT.DEPARTMENT_ID = 10
    So now the interface has to run with the conditions 'EMPLOYEE.EMPLOYEE_NAME LIKE 'A%' and DEPARTMENT.DEPARTMENT_ID = 10.
    To achieve, the best possible solution I can think of is, I have defined a variable for the dynamic filter and under the refresh section and I am planning to use the following query:
    SELECT CONDITION FROM DY_FILTERS WHERE INTERFACE_NAME = <%=odiRef.getPop("POP_NAME")%> AND
    TABLE_NAME = ***************.
    I was able to pick the interface that is currently involved by using getPop() method where as I dont have clue for getting the table name.
    Please share with me, if you have answer. Also if you have any other way to achieve this, please share the same.
    Note: The actual scenario is more complex than the example given above. But the crux of the requirement is very well covered in the example.
    Edited by: 986046 on Feb 14, 2013 2:06 PM

    Hi,
    If you've only one source datastore in your interface, you can retrieve it's name with <%=odiRef.getSrcTablesList("[RES_NAME]", "")%>.
    If you have more than one source it will list all you sources.
    However I can't see when you plan to refresh your variable. getSrcTablesList won't work before/after the interface execution.
    Regards,
    JeromeFr

  • Is dynamic tab possible ?

    Hi Experts,
    I have got a requirment where I am designing screen in module pool purpose of this program is to take input from user and save in table.
    Based on the functional location(FL)  there can be different no of Equipment if for a FL there is 3 eqipment then 3 tabs should appear if there is 4 then 4 and so on.
    So basically my requirment is to create dynamic tabs is it possible ?
    As of now I am solving it like this - I am taking 10 tabs (as I know there can not be more then 10 equipment for a FL) and activating only those tabs where there is data rest will just appear but will not be active is there any way to hide tabs like parameters ?
    Any help in this regard will be highly appreciated.
    Regards
    Bikas

    If you are not aware about how many tabs you want to keep active until runtime, u can use the concept of field symbols...it will help you to get the required tabs and then you have to program it in PBO by doing loop at screen and then accordingly you can activate tabs.

  • Is Dynamic WETabMenu Possible

    <p>is it possible to have a WETabmenu that is dynamicly driven by say a database ? or do I need to stick to using dropdowns?</p><p> </p><p>We are looking for a way to allow different WETabmenu  displays to be generated based on the user who is accessing a report. As such this report display various property information but not all users have the same kinds of properties ( residential, office, industrial ect.)  is there a way to dynamically generated the WETabmenu to support the need to only display menu items the users needs acces to ?</p><p> </p><p>Jon Roberts</p><a href="http://www.programmervault.com/">http://www.programmervault.com</a>

    Jamie,
    Yea, I saw that javascripts in the bottom of the fuction where it said not to modify.    I did play with it a little bit, but not too comfortable chaning too much there.  Thought there might have been something that I was missing, but doesn't look like it!
    Thank you for responding!
    Sincerely,
    Namita

  • Dynamic configuration : possibility of adding custom Key?

    hi experts,
    is it possible that i can add a new custom key like for example
    namespace : http://sap.com/xi/XI/System/ERROR    
    key : ERRORDESC
    and put it inside the Dynamic configuration during a mapping and then use it further?
    or are we limited to the use of ONLY standard key pairs?
    Thanks in advance.
    Regards,
    Amol

    Yes, is possible.
    Take a look here:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=95093307
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00a7ba12-e7cd-2b10-d589-e52b11346f77

  • Runtime dynamic filtering TreeModel

    Hello,
    Changing a tree during runtime seems to be a problem. I've looked at different threads and now I have the following class which filters a delegated DefaultTreeModel (see SimpleFilteredTreeModel and the corresponding TestFilteredTreeModel classes below). Notice, that the commented lines in the isShown-method do filter out alternaitve objects behind the tree at startup of the application correctly.
    I used the following two steps to extend the SimpleFilteredTreeModel to make it refreshing dynamically:
    1. Step: ViewFilter Interface
    First I enabled the SimpleFilteredTreeModel to set filter roules dynamically by introducing an interface (ViewFilter) and three implementions according to the alternatives shown in the isShown method. The filter is set by a method setViewFilter(ViewFilter).
    2. Step: Update the Model
    The method setViewFilter(ViewFilter) basically sets the new filter and tries to update the model so it shows up under the new behaviour.
        public void setViewFilter(ViewFilter filter) {
            this.filter = filter;
            // Notify the model
            final TreeNode root = (TreeNode) getRoot();
            final int childCount = root.getChildCount();
            final int[] indices = new int[childCount];
            final Object[] children = new Object[childCount];
            for (int i = 0; i < childCount; i++) {
                indices[i] = i;
                children[i] = getChild(root, i);
            fireTreeStructureChanged(this, new Object[]{root}, indices, children);
        }However, the view does not move at all. I tried also reload() and nodeChange(root) of the filter model and its delegate. No success.
    If somebody knows how to extend this example to work dynamically, I would appreciate it highly.
    -- Thanks
    -- Daniel Frey
    // File: SimpleFilteredTreeModel.java
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.TreeNode;
    public class SimpleFilteredTreeModel extends DefaultTreeModel {
        private DefaultTreeModel delegate;
        public SimpleFilteredTreeModel(DefaultTreeModel delegate) {
            super((TreeNode) delegate.getRoot());
            this.delegate = delegate;
        public Object getChild(Object parent, int index) {
            int count = 0;
            for (int i = 0; i < delegate.getChildCount(parent); i++) {
                final Object child = delegate.getChild(parent, i);
                if (isShown(child)) {
                    if (count++ == index) {
                        return child;
                else {
                    final Object child2 = getChild(child, index - count);
                    if (child2 != null) {
                        return child2;
                    count += getChildCount(child);
            return null;
        public int getIndexOfChild(Object parent, Object child) {
            return delegate.getIndexOfChild(parent, child);
        public int getChildCount(Object parent) {
            int count = 0;
            for (int i = 0; i < delegate.getChildCount(parent); i++) {
                final Object child = delegate.getChild(parent, i);
                if (isShown(child)) {
                    count++;
                else {
                    count += getChildCount(child);
            return count;
        public boolean isLeaf(Object node) {
            return delegate.isLeaf(node);
        private boolean isShown(Object node) {
            final DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) node;
            final Object obj = treeNode.getUserObject();
            //return obj instanceof TestFilteredTreeModel.Datum1 || obj instanceof TestFilteredTreeModel.Datum2;
            //return obj instanceof TestFilteredTreeModel.Datum1;
            return obj instanceof TestFilteredTreeModel.Datum2;
    // File: TestFilteredTreeModel
    import java.util.Arrays;
    import java.util.List;
    import java.util.Random;
    import java.util.ArrayList;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.MutableTreeNode;
    import javax.swing.tree.TreeNode;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.JTree;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    public class TestFilteredTreeModel {
        private DefaultMutableTreeNode[] nodes = new DefaultMutableTreeNode[0];
        public static void main(String[] args) {
            new TestFilteredTreeModel();
        public TestFilteredTreeModel() {
            final TreeNode root = createRootNode();
            final TreeModel model = new SimpleFilteredTreeModel(new DefaultTreeModel(root));
            final JTree tree = new JTree(model);
            final JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(tree));
            f.setSize(200, 300);
            f.setVisible(true);
        // Random tree generation
        private Random random = new Random();
        private TreeNode createRootNode() {
            final MutableTreeNode rootNode = createRandomNode();
            updateCache(rootNode);
            for (int i = 0; i < 30; i++) {
                final DefaultMutableTreeNode childNode = createRandomNode();
                pickRandom(nodes).add(childNode);
                updateCache(childNode);
            return rootNode;
        private void updateCache(MutableTreeNode childNode) {
            final List list = new ArrayList(Arrays.asList(nodes));
            list.add(childNode);
            nodes = (DefaultMutableTreeNode[]) list.toArray(new DefaultMutableTreeNode[0]);
        private DefaultMutableTreeNode createRandomNode() {
            final Datum[] data = new Datum[]{new Datum2(), new Datum1()};
            return new DefaultMutableTreeNode(data[random.nextInt(2)]);
        private DefaultMutableTreeNode pickRandom(DefaultMutableTreeNode[] nodes) {
            return nodes[random.nextInt(nodes.length)];
        public static class Datum {
            private static int counter = 0;
            protected int thisCounter = 0;
            public Datum() {
                thisCounter = counter++;
        public static class Datum2 extends Datum {
            public String toString() {
                return "Datum2 " + thisCounter;
        public static class Datum1 extends Datum {
            public String toString() {
                return "Datum1 " + thisCounter;
    // file: ViewFilter.java
    import javax.swing.tree.DefaultMutableTreeNode;
    public interface ViewFilter {
        boolean isShown(DefaultMutableTreeNode node);
    // file: Data1Filter.java
    import javax.swing.tree.DefaultMutableTreeNode;
    public class Data1Filter implements ViewFilter {
        public boolean isShown(DefaultMutableTreeNode node) {
            final Object obj = node.getUserObject();
            return obj instanceof TestFilteredTreeModel.Datum1;
    // file: Data2Filter.java
    import javax.swing.tree.DefaultMutableTreeNode;
    public class Data2Filter implements ViewFilter {
        public boolean isShown(DefaultMutableTreeNode node) {
            final Object obj = node.getUserObject();
            return obj instanceof TestFilteredTreeModel.Datum2;
    // file: Data12Filter.java
    import javax.swing.tree.DefaultMutableTreeNode;
    public class Data12Filter implements ViewFilter {
        public boolean isShown(DefaultMutableTreeNode node) {
            final Object obj = node.getUserObject();
            return obj instanceof TestFilteredTreeModel.Datum1 || obj instanceof TestFilteredTreeModel.Datum2;
    }

    The filtering works (after a fasion). Please clarify your problem.
    I extended SimpleFitleredTreeModel as you described, along with changing isLeaf to use the filter
    if (filter != null)  return filter.isShown( treeNode );I extended TestFiltredTreeModel constructor as follows, add the member
    import javax.swing.*;
    import java.awt.event.*;
    private SimpleFilteredTreeModel model;Altered TestFilteredTreeModel constructor as follows:
           JMenuBar bar = new JMenuBar();
            JMenu menu = new JMenu("Filters");
            JMenuItem item;
            item = new JMenuItem( "Data1Filter" );
            item.addActionListener( new ActionListener() {
                   public void actionPerformed( ActionEvent ev ) {
                        model.setViewFilter( new Data1Filter() );
              menu.add( item );
            item = new JMenuItem( "Data2Filter" );
            item.addActionListener( new ActionListener() {
                   public void actionPerformed( ActionEvent ev ) {
                        model.setViewFilter( new Data2Filter() );
              menu.add( item );
            item = new JMenuItem( "Data12Filter" );
            item.addActionListener( new ActionListener() {
                   public void actionPerformed( ActionEvent ev ) {
                        model.setViewFilter( new Data12Filter() );
              menu.add( item );
            bar.add( menu );
            f.setJMenuBar( bar );

  • Air 2.6 in GPU-mode: Filters possible?

    Hi,
    I am converting my app from air 2.5 to air 2.6 and noticed that it doesn't render filters anymore when using GPU-mode. It renders filters in CPU-mode, but rendering is much slower than GPU.
    Does anyone know if it's possible to use filers (a glow-filter in my case) in GPU-mode in Air 2.6?
    Thanx!

    Just had the issues.. in GPU mode any CPU intense rendering (like applyFilter does) slows down the app heavily. Like it dropped from 35fps to 5fps here. Let us know if you've got the same result or if I was wrong

  • Dynamic Filters

    Hi guys!
    I was wondering if there is a way to use filters with
    Javascript variables, or, even better, dynamically generated from
    XML columns...
    This is what I'm talking about:
    var filterJuly = function(dataSet, row, rowNumber)
    if (row["archive"].search(/July/) != -1)
    return row;
    return null;
    The thing is, I don't want to create a function for each
    month I want to filter out. Maybe there is a way to code something
    smart that knows I'm clicking on "July", and automatically filters
    in the "archives" that contain the word I just clicked. Is it too
    far fetched? I'm a layman, so I wouldn't know...
    Or maybe it's better to do it through paging?
    Any help would be greatly appreciated!
    Thanks in advance,
    Tomas

    Nevermind, I got it! :)

  • Is Data filtering possible in TreeTable examlple 0.

    Hello everyone,
    I have used an opensource example "TreeTable example 0" provided by sun to develop an application and it is working very file for me. But Now, I want to develop a feature of data filtering whether column wise or data wise.
    So, is it possible to achieve it in that code.

    Hello,
    See these docs,
    [System Copy Procedures |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50960d8f-6542-2a10-3ba8-e46dc23dd9b1]
    [System Copy and Migration|System Copy and Migration ]
    [Setting up Business Intelligence Client in NW2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/007af9a7-e48e-2a10-5c85-fcac22d58e82]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP and Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200ebc93-dabe-2910-c1a6-c4ec30b20e04]
    [Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP NetWeaver 2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f022aa7d-0c01-0010-20a5-c247330d47fa]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR1 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d10bf27d-0c01-0010-6995-bbdcdf0118a1]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e08502d4-dabe-2910-bbb4-c1bfc82aed73]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bd5cee-dabe-2910-fb97-c082a7c9c682]
    Thanks
    Chandran

  • Dynamic Filtering in PWA Views

    Hi,
    is it possible to use variables like [me] or [current date] for filters in PWA 2010?
    Thanks,
    JohnJohn

    Hi Micoka,
    The filters in PWA 2013 (assuming you are talking about PWA) have the same behavior than filters in the previous versions, thus the Pradeep's answer is still valid for PWA 2013.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

Maybe you are looking for